diff --git a/gtk/gtkbuildable.c b/gtk/gtkbuildable.c index 659a0ff3bd..2adc747d44 100644 --- a/gtk/gtkbuildable.c +++ b/gtk/gtkbuildable.c @@ -130,35 +130,6 @@ gtk_buildable_add_child (GtkBuildable *buildable, (* iface->add_child) (buildable, builder, child, type); } -/*< private > - * gtk_buildable_set_buildable_property: - * @buildable: a #GtkBuildable - * @builder: a #GtkBuilder - * @name: name of property - * @value: value of property - * - * Sets the property name @name to @value on the @buildable object. - */ -void -gtk_buildable_set_buildable_property (GtkBuildable *buildable, - GtkBuilder *builder, - const char *name, - const GValue *value) -{ - GtkBuildableIface *iface; - - g_return_if_fail (GTK_IS_BUILDABLE (buildable)); - g_return_if_fail (GTK_IS_BUILDER (builder)); - g_return_if_fail (name != NULL); - g_return_if_fail (value != NULL); - - iface = GTK_BUILDABLE_GET_IFACE (buildable); - if (iface->set_buildable_property) - (* iface->set_buildable_property) (buildable, builder, name, value); - else - g_object_set_property (G_OBJECT (buildable), name, value); -} - /*< private > * gtk_buildable_parser_finished: * @buildable: a #GtkBuildable diff --git a/gtk/gtkbuildableprivate.h b/gtk/gtkbuildableprivate.h index 305be21898..90d447a995 100644 --- a/gtk/gtkbuildableprivate.h +++ b/gtk/gtkbuildableprivate.h @@ -11,10 +11,6 @@ void gtk_buildable_add_child (GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const char *type); -void gtk_buildable_set_buildable_property (GtkBuildable *buildable, - GtkBuilder *builder, - const char *name, - const GValue *value); GObject * gtk_buildable_construct_child (GtkBuildable *buildable, GtkBuilder *builder, const char *name);