[gtkmm] Gtk::Action, Activatable: Deprecate vfuncs only with comments.



commit cadd037838704b492e6f44cba16e243435e281ed
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Mon Jul 8 14:38:17 2013 +0200

    Gtk::Action, Activatable: Deprecate vfuncs only with comments.
    
    * gtk/src/action.hg:
    * gtk/src/activatable.hg: Remove the 'deprecated' parameters, added by
    mistake to _WRAP_VFUNC in an earlier commit. gmmproc ignores all unknown
    parameters in _WRAP_VFUNC, but it's best to remove them, in case gmmproc
    checks the parameters better in the future.

 gtk/src/action.hg      |   16 ++++++++++++----
 gtk/src/activatable.hg |    8 ++++++--
 2 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/action.hg b/gtk/src/action.hg
index 1591026..15674e7 100644
--- a/gtk/src/action.hg
+++ b/gtk/src/action.hg
@@ -264,10 +264,18 @@ protected:
 
 protected:
   //Widget-creation routines:
-  _WRAP_VFUNC(Widget* create_menu_item(), "create_menu_item", deprecated "See the description of class 
Action.")
-  _WRAP_VFUNC(Widget* create_tool_item(), "create_tool_item", deprecated "See the description of class 
Action.")
-  _WRAP_VFUNC(void connect_proxy(Widget* proxy), "connect_proxy", deprecated "See the description of class 
Action.")
-  _WRAP_VFUNC(void disconnect_proxy(Widget* proxy), "disconnect_proxy", deprecated "See the description of 
class Action.")
+  /** @deprecated See the description of class Action.
+   */
+  _WRAP_VFUNC(Widget* create_menu_item(), "create_menu_item")
+  /** @deprecated See the description of class Action.
+   */
+  _WRAP_VFUNC(Widget* create_tool_item(), "create_tool_item")
+  /** @deprecated See the description of class Action.
+   */
+  _WRAP_VFUNC(void connect_proxy(Widget* proxy), "connect_proxy")
+  /** @deprecated See the description of class Action.
+   */
+  _WRAP_VFUNC(void disconnect_proxy(Widget* proxy), "disconnect_proxy")
 };
 
 } // namespace Gtk
diff --git a/gtk/src/activatable.hg b/gtk/src/activatable.hg
index ef921bf..6464b10 100644
--- a/gtk/src/activatable.hg
+++ b/gtk/src/activatable.hg
@@ -62,8 +62,12 @@ public:
   _WRAP_PROPERTY("use-action-appearance", bool, deprecated "See the description of class Activatable.")
 
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)
-  _WRAP_VFUNC(void update(const Glib::RefPtr<Action>& action, const Glib::ustring& property_name), update, 
deprecated "See the description of class Activatable.")
-  _WRAP_VFUNC(void sync_action_properties(const Glib::RefPtr<Action>& action), sync_action_properties, 
deprecated "See the description of class Activatable.")
+  /** @deprecated See the description of class Activatable.
+   */
+  _WRAP_VFUNC(void update(const Glib::RefPtr<Action>& action, const Glib::ustring& property_name), update)
+  /** @deprecated See the description of class Activatable.
+   */
+  _WRAP_VFUNC(void sync_action_properties(const Glib::RefPtr<Action>& action), sync_action_properties)
 };
 
 } // namespace Gtk


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