From 9d179d5ede561c69812b3afbcd9bf58f96e99663 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 18 Nov 2008 16:11:37 +0900 Subject: [PATCH] Made attributes justification default to GTK_JUSTIFY_LEFT --- lib/gtksheet/gtksheet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2