diff options
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index 69cd5f7fb..6904c6f38 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -112,6 +112,7 @@ static void gtk_tree_view_column_cell_layout_clear_attributes (GtkCellLayout static void gtk_tree_view_column_cell_layout_reorder (GtkCellLayout *cell_layout, GtkCellRenderer *cell, gint position); +static GList *gtk_tree_view_column_cell_layout_get_cells (GtkCellLayout *cell_layout); /* Button handling code */ static void gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column); @@ -332,6 +333,7 @@ gtk_tree_view_column_cell_layout_init (GtkCellLayoutIface *iface) iface->set_cell_data_func = gtk_tree_view_column_cell_layout_set_cell_data_func; iface->clear_attributes = gtk_tree_view_column_cell_layout_clear_attributes; iface->reorder = gtk_tree_view_column_cell_layout_reorder; + iface->get_cells = gtk_tree_view_column_cell_layout_get_cells; } static void @@ -1552,6 +1554,12 @@ gtk_tree_view_column_get_cell_renderers (GtkTreeViewColumn *tree_column) return retval; } +static GList * +gtk_tree_view_column_cell_layout_get_cells (GtkCellLayout *layout) +{ + return gtk_tree_view_column_get_cell_renderers (GTK_TREE_VIEW_COLUMN (layout)); +} + /** * gtk_tree_view_column_add_attribute: * @tree_column: A #GtkTreeViewColumn. |