]> Pileus Git - ~andy/gtk/commitdiff
Fixed GtkIconView buildable custom tag end to let cell layout properly
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Mon, 13 Dec 2010 07:01:58 +0000 (16:01 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 6 Jan 2011 04:51:48 +0000 (13:51 +0900)
handle <cell-packing>

gtk/gtkiconview.c

index 5d10704bacd2ed98daa6e0210eed928e47bf51a7..3c760c3e82539f1f1e1430f1ead04d1f16732791 100644 (file)
@@ -9293,10 +9293,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);
 }