summaryrefslogtreecommitdiff
path: root/gtk/gtkcolumnviewcell.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-12-16 14:01:42 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-05-31 10:47:48 -0400
commit4877bb5b5c9d0ca8f86e633fcbbffc3407b2ace2 (patch)
tree799a94662cbe2649d420e47f1fba24b72259c4c9 /gtk/gtkcolumnviewcell.c
parent93353888ca787a4c94a39751beccc160d85f9a61 (diff)
downloadgtk+-4877bb5b5c9d0ca8f86e633fcbbffc3407b2ace2.tar.gz
columnviewcolumn: Add a visible property
This lets us hide columns, which is an expected feature of columned lists.
Diffstat (limited to 'gtk/gtkcolumnviewcell.c')
-rw-r--r--gtk/gtkcolumnviewcell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcolumnviewcell.c b/gtk/gtkcolumnviewcell.c
index ecaa39dd46..4df02a0194 100644
--- a/gtk/gtkcolumnviewcell.c
+++ b/gtk/gtkcolumnviewcell.c
@@ -156,6 +156,7 @@ gtk_column_view_cell_new (GtkColumnViewColumn *column)
cell = g_object_new (GTK_TYPE_COLUMN_VIEW_CELL,
"factory", gtk_column_view_column_get_factory (column),
+ "visible", gtk_column_view_column_get_visible (column),
NULL);
cell->column = g_object_ref (column);