Drop unused gtk_buildable_set_buildable_property

This commit is contained in:
Matthias Clasen 2020-10-30 17:19:52 -04:00
parent 505df337c2
commit b23cae9643
2 changed files with 0 additions and 33 deletions

View File

@ -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

View File

@ -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);