]> Pileus Git - ~andy/gtk/commitdiff
Added boolean return to GtkCellLayout buildable custom tag end shared private function.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 4 Dec 2010 07:53:28 +0000 (16:53 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 4 Dec 2010 07:53:28 +0000 (16:53 +0900)
gtk/gtkcelllayout.c
gtk/gtkcelllayout.h

index e0d86520557c6ffa022d83251073a41f04150e2f..b2182d276efd570355046d8c26e15a280080d98e 100644 (file)
@@ -745,7 +745,7 @@ _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable  *buildable,
   return FALSE;
 }
 
-void
+gboolean
 _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
                                           GtkBuilder   *builder,
                                           GObject      *child,
@@ -759,13 +759,14 @@ _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
       attr_data = (AttributesSubParserData*)data;
       g_assert (!attr_data->attr_name);
       g_slice_free (AttributesSubParserData, attr_data);
-      return;
+      return TRUE;
     }
   else if (strcmp (tagname, "cell-packing") == 0)
     {
       g_slice_free (CellPackingSubParserData, (gpointer)data);
-      return;
+      return TRUE;
     }
+  return FALSE;
 }
 
 void
index 26957e6b2a2cb49c1e9632d220ea1b78cf471e81..6ab3844542e53409e1d72c9099b249372fe84bea 100644 (file)
@@ -123,7 +123,7 @@ gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable  *buildable,
                                                      const gchar   *tagname,
                                                      GMarkupParser *parser,
                                                      gpointer      *data);
-void _gtk_cell_layout_buildable_custom_tag_end       (GtkBuildable  *buildable,
+gboolean _gtk_cell_layout_buildable_custom_tag_end   (GtkBuildable  *buildable,
                                                      GtkBuilder    *builder,
                                                      GObject       *child,
                                                      const gchar   *tagname,