[gtkmm] Gtk::UIManager: Deprecate the add-tearoffs property



commit 1ab6bf62c35512fa14b25c09ef0569ae98e67ce1
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Dec 19 17:10:47 2013 +0100

    Gtk::UIManager: Deprecate the add-tearoffs property
    
    It has been deprecated in gtk+ since 3.4. The corresponding set/get methods
    have been deprecated in gtkmm since 3.3.2.

 gtk/src/uimanager.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/uimanager.hg b/gtk/src/uimanager.hg
index 2935103..15af409 100644
--- a/gtk/src/uimanager.hg
+++ b/gtk/src/uimanager.hg
@@ -266,7 +266,7 @@ public:
   _WRAP_SIGNAL(void pre_activate(const Glib::RefPtr<Action>& action), pre_activate)
   _WRAP_SIGNAL(void post_activate(const Glib::RefPtr<Action>& action), post_activate)
 
-  _WRAP_PROPERTY("add_tearoffs", bool)
+  _WRAP_PROPERTY("add_tearoffs", bool, deprecated "Tearoff menus are deprecated and should not be used in 
newly written code.")
   _WRAP_PROPERTY("ui", Glib::ustring)
 
 };


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