[gtk+] Mark GtkContainer::resize-mode as deprecated



commit ac2329b842303819fe5e674b07276f3feeaa6399
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 9 13:39:38 2014 -0400

    Mark GtkContainer::resize-mode as deprecated
    
    The setter was deprecated a while ago, do the same for the property.

 gtk/gtkcontainer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 762b447..1c8e78e 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -491,7 +491,7 @@ gtk_container_class_init (GtkContainerClass *class)
                                                       P_("Specify how resize events are handled"),
                                                       GTK_TYPE_RESIZE_MODE,
                                                       GTK_RESIZE_PARENT,
-                                                      GTK_PARAM_READWRITE));
+                                                      GTK_PARAM_READWRITE|G_PARAM_DEPRECATED));
   g_object_class_install_property (gobject_class,
                                    PROP_BORDER_WIDTH,
                                    g_param_spec_uint ("border-width",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]