[gtk+/icon-view-refactor: 8/12] Fixed GtkIconView buildable custom tag end to let cell layout properly handle <cell-packing>



commit 67e945bb4ef8e3ac98d77995d565a274ec5af06b
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Mon Dec 13 16:01:58 2010 +0900

    Fixed GtkIconView buildable custom tag end to let cell layout properly
    handle <cell-packing>

 gtk/gtkiconview.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index e4b7f6e..a9d931d 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -9332,10 +9332,8 @@ gtk_icon_view_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
+  if (!_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, 
+						  child, tagname, data))
     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]