forked from AuroraMiddleware/gtk
Drop unused gtk_buildable_set_buildable_property
This commit is contained in:
parent
505df337c2
commit
b23cae9643
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user