[gtk+] Deprecated the decoration-button-layout style property



commit 57d1e6d17d02137448ba2ec6c5bd4a5445441f5d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 3 16:19:54 2014 -0500

    Deprecated the decoration-button-layout style property
    
    This is now done via a setting + regular property, for
    better control, and the style property is ignored.

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2c758ec..c3259c0 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1073,7 +1073,7 @@ gtk_window_class_init (GtkWindowClass *klass)
                                                                 P_("Decorated button layout"),
                                                                 P_("Decorated button layout"),
                                                                 "menu:close",
-                                                                GTK_PARAM_READABLE));
+                                                                GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
 
   gtk_widget_class_install_style_property (widget_class,
                                            g_param_spec_int ("decoration-resize-handle",


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