[gtk+/combo-refactor: 49/50] Allow the cell-layout to decide if it handled the custom_end tag.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/combo-refactor: 49/50] Allow the cell-layout to decide if it handled the custom_end tag.
- Date: Sat, 4 Dec 2010 14:31:52 +0000 (UTC)
commit b1df0800f0d43dbf5de82af727b75a855ca62f74
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]