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: v0.7.1~146 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d179d5ede561c69812b3afbcd9bf58f96e99663;p=pspp-builds.git Made attributes justification default to GTK_JUSTIFY_LEFT --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 5917aca9..79ba35dc 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;