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



commit b3ff60db71eaf4f705eac0872e971bf3fe11beb5
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 86c301c..eb8dea4 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -5167,12 +5167,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]