[gtk/fix-builder-parsing: 37/38] builder: Consistently use builder_construct
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/fix-builder-parsing: 37/38] builder: Consistently use builder_construct
- Date: Mon, 27 Sep 2021 21:47:45 +0000 (UTC)
commit c8f29a689d0721cc9ffb485073c4f999c6585385
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 27 12:57:47 2021 -0400
builder: Consistently use builder_construct
It seems odd to use this helper in one place,
but not the other.
gtk/gtkbuilderparser.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gtk/gtkbuilderparser.c b/gtk/gtkbuilderparser.c
index 0e614ccdac..c5b4039781 100644
--- a/gtk/gtkbuilderparser.c
+++ b/gtk/gtkbuilderparser.c
@@ -1713,9 +1713,7 @@ parse_custom (GtkBuildableParseContext *context,
ObjectInfo* object_info = (ObjectInfo*)parent_info;
if (!object_info->object)
{
- object_info->object = _gtk_builder_construct (data->builder,
- object_info,
- error);
+ object_info->object = builder_construct (data, object_info, error);
if (!object_info->object)
return TRUE; /* A GError is already set */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]