forked from AuroraMiddleware/gtk
Added boolean return to GtkCellLayout buildable custom tag end shared private function.
This commit is contained in:
parent
c8c5ed8fa1
commit
52ba4f49c5
@ -745,7 +745,7 @@ _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
gboolean
|
||||||
_gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
|
_gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
@ -759,13 +759,14 @@ _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
|
|||||||
attr_data = (AttributesSubParserData*)data;
|
attr_data = (AttributesSubParserData*)data;
|
||||||
g_assert (!attr_data->attr_name);
|
g_assert (!attr_data->attr_name);
|
||||||
g_slice_free (AttributesSubParserData, attr_data);
|
g_slice_free (AttributesSubParserData, attr_data);
|
||||||
return;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else if (strcmp (tagname, "cell-packing") == 0)
|
else if (strcmp (tagname, "cell-packing") == 0)
|
||||||
{
|
{
|
||||||
g_slice_free (CellPackingSubParserData, (gpointer)data);
|
g_slice_free (CellPackingSubParserData, (gpointer)data);
|
||||||
return;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -123,7 +123,7 @@ gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
|
|||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
GMarkupParser *parser,
|
GMarkupParser *parser,
|
||||||
gpointer *data);
|
gpointer *data);
|
||||||
void _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
|
gboolean _gtk_cell_layout_buildable_custom_tag_end (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
|
Loading…
Reference in New Issue
Block a user