[gtk+/combo-refactor: 50/52] Fixed GtkComboBox to let the cell-layout implementation handle <cell-packing>



commit 782eb5f400918b6e6ecdc210abb22a1d19e2bacc
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Mon Dec 13 19:24:51 2010 +0900

    Fixed GtkComboBox to let the cell-layout implementation handle <cell-packing>

 gtk/gtkcombobox.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 5d8f208..a22ca2b 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -5166,12 +5166,8 @@ gtk_combo_box_buildable_custom_tag_end (GtkBuildable *buildable,
 					const gchar  *tagname,
 					gpointer     *data)
 {
-  if (strcmp (tagname, "attributes") == 0)
-    _gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
-					       data);
-  else
-    parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
-					    data);
+  if (!_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname, data))
+    parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname, data);
 }
 
 static GObject *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]