From: John Darrington Date: Tue, 18 Nov 2008 07:11:37 +0000 (+0900) Subject: Made attributes justification default to GTK_JUSTIFY_LEFT X-Git-Tag: sav-api~966 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d179d5ede561c69812b3afbcd9bf58f96e99663;p=pspp Made attributes justification default to GTK_JUSTIFY_LEFT --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 5917aca995..79ba35dc1b 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -5625,7 +5625,7 @@ gtk_sheet_get_attributes (const GtkSheet *sheet, gint row, gint col, attributes->background = *bg; j = g_sheet_model_get_justification (sheet->model, row, col); - if (j) attributes->justification = *j; + attributes->justification = j ? *j : GTK_JUSTIFY_LEFT; font_desc = g_sheet_model_get_font_desc (sheet->model, row, col); if ( font_desc ) attributes->font_desc = font_desc;