[gtk+/combo-refactor: 49/49] Allow the cell-layout to decide if it handled the custom_end tag.



commit 059b3ee5b08876a757b0e2a4bd1aadac5bbc36e4
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Dec 4 17:01:21 2010 +0900

    Allow the cell-layout to decide if it handled the custom_end tag.

 gtk/gtkcombobox.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 2972ce9..ed25b4d 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -4121,9 +4121,9 @@ gtk_combo_box_buildable_custom_tag_end (GtkBuildable *buildable,
 					const gchar  *tagname,
 					gpointer     *data)
 {
-  if (strcmp (tagname, "attributes") == 0 || strcmp (tagname, "cell-packing"))
-    _gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
-					       data);
+  if (_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
+						 data))
+    return;
   else
     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]