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



commit 1fd59c3b0d497d84d1f37c436649d9eba0e8f1e4
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 3a4d427..544888a 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]