projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4935f
)
Made attributes justification default to GTK_JUSTIFY_LEFT
author
John Darrington
<john@darrington.wattle.id.au>
Tue, 18 Nov 2008 07:11:37 +0000
(16:11 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Tue, 18 Nov 2008 07:11:37 +0000
(16:11 +0900)
lib/gtksheet/gtksheet.c
patch
|
blob
|
history
diff --git
a/lib/gtksheet/gtksheet.c
b/lib/gtksheet/gtksheet.c
index 5917aca995b0b791c3c528d3265cceaff5f7dd3e..79ba35dc1bf521aa2fb31794e77b1f79a3c7aca6 100644
(file)
--- 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;