Removed the visibility predicate from the row/column models.
[pspp-builds.git] / lib / gtksheet / gsheet-uniform-column.c
index 5093da2fbef9a199d2993c5e5e3585fa5a4e5e9a..c0f6732a5e51c2a38965d6c8347ae82abca560cb 100644 (file)
@@ -90,7 +90,6 @@ g_sheet_uniform_column_new (gint width, gint n_columns)
   ug = G_SHEET_UNIFORM_COLUMN(retval);
   ug->n_columns = n_columns;
   ug->width = width;
-  ug->is_visible = TRUE;
   ug->is_sensitive = FALSE;
 
   return retval;
@@ -113,15 +112,6 @@ g_sheet_uniform_column_get_sensitivity (const GSheetColumn *geom, glong u)
 }
 
 
-static gboolean
-g_sheet_uniform_column_get_visibility (const GSheetColumn *geom, glong u)
-{
-  GSheetUniformColumn *ug = G_SHEET_UNIFORM_COLUMN (geom);
-
-  return ug->is_visible;
-}
-
-
 static gchar *
 g_sheet_uniform_column_get_button_label (const GSheetColumn *geom, glong u)
 {
@@ -176,7 +166,6 @@ g_sheet_column_init (GSheetColumnIface *iface)
 {
   iface->get_width = g_sheet_uniform_column_get_width ;
   iface->get_sensitivity = g_sheet_uniform_column_get_sensitivity ;
-  iface->get_visibility = g_sheet_uniform_column_get_visibility ;
   iface->get_justification = g_sheet_uniform_column_get_justification;
   iface->get_column_count = g_sheet_uniform_column_get_column_count;
   iface->get_button_label = g_sheet_uniform_column_get_button_label;