From b3ff60db71eaf4f705eac0872e971bf3fe11beb5 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 13 Dec 2010 19:24:51 +0900 Subject: [PATCH] Fixed GtkComboBox to let the cell-layout implementation handle --- gtk/gtkcombobox.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 86c301c8de..eb8dea45b6 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 *