diff options
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 10373f6c27..de24427bb5 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -731,6 +731,13 @@ _gtk_builder_construct (GtkBuilder *builder, return obj; } +void +_gtk_builder_add_object (GtkBuilder *builder, + const gchar *id, + GObject *object) +{ + g_hash_table_insert (builder->priv->objects, g_strdup (id), g_object_ref (object)); +} void _gtk_builder_add (GtkBuilder *builder, |