]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcellview.c
Bug 546756 – gnome-panel crashed with SIGSEGV in
[~andy/gtk] / gtk / gtkcellview.c
index dab19cb8d0f67f917cda1b743f81799f9d475cc2..e5350a526a59bcc865ec2a730156e5da85e91bb2 100644 (file)
@@ -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);
 }