Fixing GtkCellView to not strcmp() in buildable_custom_tag_end()
GtkCellLayout function now returns boolean if one of the tags it was interested in was handled.
This commit is contained in:
@ -832,9 +832,9 @@ gtk_cell_view_buildable_custom_tag_end (GtkBuildable *buildable,
|
|||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
gpointer *data)
|
gpointer *data)
|
||||||
{
|
{
|
||||||
if (strcmp (tagname, "attributes") == 0 || strcmp (tagname, "cell-packing") == 0)
|
if (_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
|
||||||
_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
|
data))
|
||||||
data);
|
return;
|
||||||
else if (parent_buildable_iface->custom_tag_end)
|
else if (parent_buildable_iface->custom_tag_end)
|
||||||
parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
|
parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
|
||||||
data);
|
data);
|
||||||
|
|||||||
Reference in New Issue
Block a user