diff options
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r-- | gtk/gtkcellview.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c index 405a8ba0ad..1cd3fc7065 100644 --- a/gtk/gtkcellview.c +++ b/gtk/gtkcellview.c @@ -103,7 +103,7 @@ static void gtk_cell_view_cell_layout_set_cell_data_func (GtkCellLayout static void gtk_cell_view_cell_layout_reorder (GtkCellLayout *layout, GtkCellRenderer *cell, gint position); - +static GList * gtk_cell_view_cell_layout_get_cells (GtkCellLayout *layout); #define GTK_CELL_VIEW_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_CELL_VIEW, GtkCellViewPrivate)) @@ -184,6 +184,7 @@ gtk_cell_view_cell_layout_init (GtkCellLayoutIface *iface) iface->set_cell_data_func = gtk_cell_view_cell_layout_set_cell_data_func; iface->clear_attributes = gtk_cell_view_cell_layout_clear_attributes; iface->reorder = gtk_cell_view_cell_layout_reorder; + iface->get_cells = gtk_cell_view_cell_layout_get_cells; } static void @@ -1060,5 +1061,12 @@ gtk_cell_view_get_cell_renderers (GtkCellView *cell_view) return g_list_reverse (retval); } +static GList * +gtk_cell_view_cell_layout_get_cells (GtkCellLayout *layout) +{ + return gtk_cell_view_get_cell_renderers (GTK_CELL_VIEW (layout)); +} + + #define __GTK_CELL_VIEW_C__ #include "gtkaliasdef.c" |