diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-24 18:28:31 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-29 13:03:54 +0900 |
commit | 865eb60d2177d7847e8f32b2da6192825a24b5c9 (patch) | |
tree | 1216afe3ca9ba8620d3af5d97d1792ab70c33509 /gtk/gtkcelllayout.c | |
parent | cad41833a257b2fb6b6681479650e5a20b331fdc (diff) | |
download | gtk+-865eb60d2177d7847e8f32b2da6192825a24b5c9.tar.gz |
Fixed GtkCellLayout to pack cells via the api when parsing builder input.
Diffstat (limited to 'gtk/gtkcelllayout.c')
-rw-r--r-- | gtk/gtkcelllayout.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c index f25864bad6..fb35428fe3 100644 --- a/gtk/gtkcelllayout.c +++ b/gtk/gtkcelllayout.c @@ -706,12 +706,8 @@ _gtk_cell_layout_buildable_add_child (GtkBuildable *buildable, GObject *child, const gchar *type) { - GtkCellLayoutIface *iface; - g_return_if_fail (GTK_IS_CELL_LAYOUT (buildable)); g_return_if_fail (GTK_IS_CELL_RENDERER (child)); - iface = GTK_CELL_LAYOUT_GET_IFACE (buildable); - g_return_if_fail (iface->pack_start != NULL); - iface->pack_start (GTK_CELL_LAYOUT (buildable), GTK_CELL_RENDERER (child), FALSE); + gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (buildable), GTK_CELL_RENDERER (child), FALSE); } |