summaryrefslogtreecommitdiff
path: root/gtk/gtkbuilder.c
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2007-06-19 12:23:36 +0000
committerJohan Dahlin <johan@src.gnome.org>2007-06-19 12:23:36 +0000
commit60a409785facbef5ba61c0bb1e396ec027e02bbc (patch)
treeddcf183272d6352f3f57b8e13ddcb0ede4c885f9 /gtk/gtkbuilder.c
parent2e654b1671ea5451cc1ca8ed8a03380e2b175f7e (diff)
downloadgdk-pixbuf-60a409785facbef5ba61c0bb1e396ec027e02bbc.tar.gz
Rename buildable methods to not clash with widget methods. (#448928,
2007-06-19 Johan Dahlin <jdahlin@async.com.br> * gtk/*: Rename buildable methods to not clash with widget methods. (#448928, Torsten Schoenfeld) svn path=/trunk/; revision=18187
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r--gtk/gtkbuilder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index fbec88c0d..145f7d935 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -421,7 +421,7 @@ _gtk_builder_construct (GtkBuilder *builder,
{
buildable = GTK_BUILDABLE (obj);
iface = GTK_BUILDABLE_GET_IFACE (obj);
- if (iface->set_property)
+ if (iface->set_buildable_property)
custom_set_property = TRUE;
}
@@ -429,7 +429,7 @@ _gtk_builder_construct (GtkBuilder *builder,
{
GParameter *param = &g_array_index (parameters, GParameter, i);
if (custom_set_property)
- iface->set_property (buildable, builder, param->name, &param->value);
+ iface->set_buildable_property (buildable, builder, param->name, &param->value);
else
g_object_set_property (obj, param->name, &param->value);
@@ -502,8 +502,8 @@ _gtk_builder_add (GtkBuilder *builder,
gtk_buildable_get_name (GTK_BUILDABLE (object)),
gtk_buildable_get_name (GTK_BUILDABLE (parent))));
- gtk_buildable_add (GTK_BUILDABLE (parent), builder, object,
- child_info->type);
+ gtk_buildable_add_child (GTK_BUILDABLE (parent), builder, object,
+ child_info->type);
child_info->added = TRUE;
}