summaryrefslogtreecommitdiff
path: root/gtk/gtkcellview.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-07 02:45:51 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-07 02:45:51 +0000
commit99836c65280dfeff25dc4aa814faa9865d3aeac1 (patch)
tree8200a03d3bb2957c73e0aa8407609e4804516c65 /gtk/gtkcellview.c
parent32f19c389b7a182e6d785a4ef6995d2e5582ebb2 (diff)
downloadgtk+-99836c65280dfeff25dc4aa814faa9865d3aeac1.tar.gz
Don't blindly chain up in the buildable implementation. Reported by Kevin
* gtk/gtkcellview.c: Don't blindly chain up in the buildable implementation. Reported by Kevin Ryde. svn path=/trunk/; revision=20802
Diffstat (limited to 'gtk/gtkcellview.c')
-rw-r--r--gtk/gtkcellview.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index dab19cb8d0..e5350a526a 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -1086,7 +1086,8 @@ gtk_cell_view_buildable_custom_tag_start (GtkBuildable *buildable,
GMarkupParser *parser,
gpointer *data)
{
- if (parent_buildable_iface->custom_tag_start (buildable, builder, child,
+ if (parent_buildable_iface->custom_tag_start &&
+ parent_buildable_iface->custom_tag_start (buildable, builder, child,
tagname, parser, data))
return TRUE;
@@ -1104,7 +1105,7 @@ gtk_cell_view_buildable_custom_tag_end (GtkBuildable *buildable,
if (strcmp (tagname, "attributes") == 0)
_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
data);
- else
+ else if (parent_buildable_iface->custom_tag_end)
parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
data);
}