gtk+ r20802 - in trunk: . gtk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20802 - in trunk: . gtk
- Date: Mon, 7 Jul 2008 02:45:51 +0000 (UTC)
Author: matthiasc
Date: Mon Jul 7 02:45:51 2008
New Revision: 20802
URL: http://svn.gnome.org/viewvc/gtk+?rev=20802&view=rev
Log:
* gtk/gtkcellview.c: Don't blindly chain up in the buildable
implementation. Reported by Kevin Ryde.
Modified:
trunk/ChangeLog
trunk/gtk/gtkcellview.c
Modified: trunk/gtk/gtkcellview.c
==============================================================================
--- trunk/gtk/gtkcellview.c (original)
+++ trunk/gtk/gtkcellview.c Mon Jul 7 02:45:51 2008
@@ -1086,7 +1086,8 @@
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 @@
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]