[gtkmm] Add a TODO



commit 422a75026b3227b9f693bf2deb4e007d258a381a
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 19 09:23:03 2012 +0200

    Add a TODO

 gtk/src/application.hg |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/src/application.hg b/gtk/src/application.hg
index 9497ccf..8bb1148 100644
--- a/gtk/src/application.hg
+++ b/gtk/src/application.hg
@@ -176,8 +176,11 @@ public:
 
   _WRAP_METHOD(void set_menubar(const Glib::RefPtr<Gio::MenuModel>& menubar), gtk_application_set_menubar)
 
-  _WRAP_METHOD(void add_accelerator(const Glib::ustring& accelerator, const Glib::ustring& action_name,  GVariant        *parameter), gtk_application_add_accelerator)
-  _WRAP_METHOD(void remove_accelerator(const Glib::ustring& action_name, GVariant       *parameter), gtk_application_remove_accelerator)
+  //TODO: Add a version that takes a VariantBase and deprecate this method:
+  _WRAP_METHOD(void add_accelerator(const Glib::ustring& accelerator, const Glib::ustring& action_name, GVariant        * parameter), gtk_application_add_accelerator)
+
+  //TODO: Add a version that takes a VariantBase and deprecate this method:
+  _WRAP_METHOD(void remove_accelerator(const Glib::ustring& action_name, GVariant* parameter), gtk_application_remove_accelerator)
 
   _WRAP_METHOD(guint inhibit(Window& window, ApplicationInhibitFlags flags, const Glib::ustring& reason), gtk_application_inhibit)
   _WRAP_METHOD(void uninhibit(guint cookie), gtk_application_uninhibit)



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