X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtksheet%2Fgsheet-hetero-column.c;h=42b1035f5851f0c3edd1ded4bf0b389d331d6bf8;hb=b069636965a498047e2eb12a31c8c45694cfb221;hp=ecc06cc54b76280defb1168c99946979cf27bc1d;hpb=f404544337964f80bb2d1fee5acb147f7023bc08;p=pspp diff --git a/lib/gtksheet/gsheet-hetero-column.c b/lib/gtksheet/gsheet-hetero-column.c index ecc06cc54b..42b1035f58 100644 --- a/lib/gtksheet/gsheet-hetero-column.c +++ b/lib/gtksheet/gsheet-hetero-column.c @@ -121,14 +121,6 @@ g_sheet_hetero_column_get_sensitivity (const GSheetColumn *geom, glong u) } -static gboolean -g_sheet_hetero_column_get_visibility (const GSheetColumn *geom, glong u) -{ - return TRUE; -} - - - static gchar * g_sheet_hetero_column_get_button_label (const GSheetColumn *geom, glong u) { @@ -141,7 +133,7 @@ g_sheet_hetero_column_get_button_label (const GSheetColumn *geom, glong u) static GtkJustification g_sheet_hetero_column_get_justification (const GSheetColumn *geom, glong u) { - return GTK_JUSTIFY_FILL; + return GTK_JUSTIFY_LEFT; } @@ -165,7 +157,6 @@ g_sheet_hetero_column_class_init (GSheetHeteroColumnClass *class) object_class->finalize = g_sheet_hetero_column_finalize; default_button.label=NULL; - default_button.child=NULL; default_button.state=GTK_STATE_NORMAL; default_button.justification=GTK_JUSTIFY_CENTER; default_button.label_visible = TRUE; @@ -203,7 +194,6 @@ g_sheet_column_init (GSheetColumnIface *iface) iface->get_width = g_sheet_hetero_column_get_width ; iface->set_width = hetero_column_set_width ; iface->get_sensitivity = g_sheet_hetero_column_get_sensitivity ; - iface->get_visibility = g_sheet_hetero_column_get_visibility ; iface->get_justification = g_sheet_hetero_column_get_justification; iface->get_column_count = g_sheet_hetero_column_get_column_count;