Ben's patches to tower.[ch]
[pspp-builds.git] / lib / gtksheet / gsheet-hetero-column.c
index 0cda0cf357a2092f5b2e4ba9e1e4fac0fdfda05e..42b1035f5851f0c3edd1ded4bf0b389d331d6bf8 100644 (file)
@@ -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;
 
@@ -226,7 +216,7 @@ g_sheet_hetero_column_set_button_label (GSheetHeteroColumn *geo,
 
 
 
-inline void
+void
 g_sheet_hetero_column_set_width (GSheetHeteroColumn *geo, glong i, gint size)
 {
   GSheetColumn *iface = G_SHEET_COLUMN (geo);