mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
builder: Consistently use builder_construct
It seems odd to use this helper in one place, but not the other.
This commit is contained in:
parent
e3ecd5d23e
commit
c8f29a689d
@ -1713,9 +1713,7 @@ parse_custom (GtkBuildableParseContext *context,
|
|||||||
ObjectInfo* object_info = (ObjectInfo*)parent_info;
|
ObjectInfo* object_info = (ObjectInfo*)parent_info;
|
||||||
if (!object_info->object)
|
if (!object_info->object)
|
||||||
{
|
{
|
||||||
object_info->object = _gtk_builder_construct (data->builder,
|
object_info->object = builder_construct (data, object_info, error);
|
||||||
object_info,
|
|
||||||
error);
|
|
||||||
if (!object_info->object)
|
if (!object_info->object)
|
||||||
return TRUE; /* A GError is already set */
|
return TRUE; /* A GError is already set */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user