Commit 52ba4f49 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Added boolean return to GtkCellLayout buildable custom tag end shared private function.

parent c8c5ed8f
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment