[gtk+/gtk-3-22] Deprecate GtkContainer::child
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Deprecate GtkContainer::child
- Date: Fri, 21 Oct 2016 15:07:19 +0000 (UTC)
commit a372f554ebc46f9f68df70b2d30f00f6eae8d30a
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 21 10:21:44 2016 -0400
Deprecate GtkContainer::child
It is gone in GTK+ 4, so let it deprecate here.
gtk/gtkcontainer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 55feadf..55201ee 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]