[gtk+] window: Remove property definition



commit c05fcdbba05730acef0adb46aeaaecca38b1ba5c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed May 3 15:58:49 2017 +0100

    window: Remove property definition
    
    Commit 92b0d2e8ea8b41ea914eb4d66b48cc7dd2d34b9d removed the
    hide-titlebar-when-maximized property handlers, but it still installed
    the GParamSpec into the GtkWindow class.

 gtk/gtkwindow.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index aa5da8f..e7f1680 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -304,7 +304,6 @@ enum {
   PROP_DEFAULT_WIDTH,
   PROP_DEFAULT_HEIGHT,
   PROP_DESTROY_WITH_PARENT,
-  PROP_HIDE_TITLEBAR_WHEN_MAXIMIZED,
   PROP_ICON,
   PROP_ICON_NAME,
   PROP_SCREEN,
@@ -878,20 +877,6 @@ gtk_window_class_init (GtkWindowClass *klass)
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
-  /**
-   * GtkWindow:hide-titlebar-when-maximized:
-   *
-   * Whether the titlebar should be hidden during maximization.
-   *
-   * Since: 3.4
-   */
-  window_props[PROP_HIDE_TITLEBAR_WHEN_MAXIMIZED] =
-      g_param_spec_boolean ("hide-titlebar-when-maximized",
-                            P_("Hide the titlebar during maximization"),
-                            P_("If this window’s titlebar should be hidden when the window is maximized"),
-                            FALSE,
-                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
-
   window_props[PROP_ICON] =
       g_param_spec_object ("icon",
                            P_("Icon"),


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