[gtk+/wip/baedert/box] scrolledwindow: Remove window-placement-set property



commit 581f6055a09fb69d970e8652aaf773dbdf240e2c
Author: Timm Bäder <mail baedert org>
Date:   Tue Oct 4 16:35:53 2016 +0200

    scrolledwindow: Remove window-placement-set property

 gtk/gtkscrolledwindow.c |   25 -------------------------
 1 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 6457615..d120209 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -296,7 +296,6 @@ enum {
   PROP_HSCROLLBAR_POLICY,
   PROP_VSCROLLBAR_POLICY,
   PROP_WINDOW_PLACEMENT,
-  PROP_WINDOW_PLACEMENT_SET,
   PROP_SHADOW_TYPE,
   PROP_MIN_CONTENT_WIDTH,
   PROP_MIN_CONTENT_HEIGHT,
@@ -600,24 +599,6 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
                        GTK_CORNER_TOP_LEFT,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
-  /**
-   * GtkScrolledWindow:window-placement-set:
-   *
-   * Whether "window-placement" should be used to determine the location
-   * of the contents with respect to the scrollbars.
-   *
-   * Since: 2.10
-   *
-   * Deprecated: 3.10: This value is ignored and
-   * #GtkScrolledWindow:window-placement value is always honored.
-   */
-  properties[PROP_WINDOW_PLACEMENT_SET] =
-      g_param_spec_boolean ("window-placement-set",
-                            P_("Window Placement Set"),
-                            P_("Whether \"window-placement\" should be used to determine the location of the 
contents with respect to the scrollbars."),
-                            TRUE,
-                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
-
   properties[PROP_SHADOW_TYPE] =
       g_param_spec_enum ("shadow-type",
                          P_("Shadow Type"),
@@ -2796,9 +2777,6 @@ gtk_scrolled_window_set_property (GObject      *object,
       gtk_scrolled_window_set_placement_internal (scrolled_window,
                                                  g_value_get_enum (value));
       break;
-    case PROP_WINDOW_PLACEMENT_SET:
-      /* noop */
-      break;
     case PROP_SHADOW_TYPE:
       gtk_scrolled_window_set_shadow_type (scrolled_window,
                                           g_value_get_enum (value));
@@ -2863,9 +2841,6 @@ gtk_scrolled_window_get_property (GObject    *object,
     case PROP_WINDOW_PLACEMENT:
       g_value_set_enum (value, priv->window_placement);
       break;
-    case PROP_WINDOW_PLACEMENT_SET:
-      g_value_set_boolean (value, TRUE);
-      break;
     case PROP_SHADOW_TYPE:
       g_value_set_enum (value, priv->shadow_type);
       break;


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