From a372f554ebc46f9f68df70b2d30f00f6eae8d30a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 21 Oct 2016 10:21:44 -0400 Subject: [PATCH] Deprecate GtkContainer::child It is gone in GTK+ 4, so let it deprecate here. --- gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 55feadf8b2..55201eed1d 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -547,7 +547,7 @@ gtk_container_class_init (GtkContainerClass *class) P_("Child"), P_("Can be used to add a new child to the container"), GTK_TYPE_WIDGET, - GTK_PARAM_WRITABLE); + GTK_PARAM_WRITABLE|G_PARAM_DEPRECATED); g_object_class_install_properties (gobject_class, LAST_PROP, container_props);