[glibmm] ActionGroup: Wrap remaining methods.



commit dd1b28b0bcb2f40646e6fea636e26149c92e422c
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date:   Tue Sep 20 17:48:54 2011 -0400

    ActionGroup: Wrap remaining methods.
    
    	* gio/src/actiongroup.hg: Add the get_action_parameter_type(),
    	get_action_state_type(), get_action_state_hint(), and
    	get_action_state() methods which were TODO's.

 ChangeLog              |    8 ++++++++
 gio/src/actiongroup.hg |   11 +++++------
 2 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ced145e..a3d69ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-09-20  Josà Alburquerque  <jaalburqu svn gnome org>
 
+	ActionGroup: Wrap remaining methods.
+
+	* gio/src/actiongroup.hg: Add the get_action_parameter_type(),
+	get_action_state_type(), get_action_state_hint(), and
+	get_action_state() methods which were TODO's.
+
+2011-09-20  Josà Alburquerque  <jaalburqu svn gnome org>
+
 	giomm: Add Action class wrapping GAction.
 
 	* gio/src/action.{ccg,hg}:
diff --git a/gio/src/actiongroup.hg b/gio/src/actiongroup.hg
index 8ff29e9..0e68500 100644
--- a/gio/src/actiongroup.hg
+++ b/gio/src/actiongroup.hg
@@ -58,12 +58,11 @@ public:
 
   _WRAP_METHOD(bool get_action_enabled(const Glib::ustring& action_name) const, g_action_group_get_action_enabled)
 
-/* TODO:
-  _WRAP_METHOD(const GVariantType* get_action_parameter_type(const Glib::ustring& action_name), g_action_group_get_action_parameter_type)
-  GVariantType* get_action_state_type(const Glib::ustring& action_name), g_action_group_get_action_state_type)
-  _WRAP_METHOD(GVariant* get_action_state_hint(const Glib::ustring& action_name), g_action_group_get_action_state_hint)
-  _WRAP_METHOD(GVariant* get_action_state(GActionGroup* action_group, const gchar* action_name), g_action_group_get_action_state)
-*/
+  _WRAP_METHOD(Glib::VariantType get_action_parameter_type(const Glib::ustring& action_name) const, g_action_group_get_action_parameter_type)
+  _WRAP_METHOD(Glib::VariantType get_action_state_type(const Glib::ustring& action_name) const, g_action_group_get_action_state_type)
+
+  _WRAP_METHOD(Glib::VariantContainerBase get_action_state_hint(const Glib::ustring& action_name) const, g_action_group_get_action_state_hint)
+  _WRAP_METHOD(Glib::VariantBase get_action_state(const Glib::ustring& action_name) const, g_action_group_get_action_state)
 
   _WRAP_METHOD(void change_action_state(const Glib::ustring& action_name, const Glib::VariantBase& value), g_action_group_change_action_state)
   _WRAP_METHOD(void activate_action(const Glib::ustring& action_name, const Glib::VariantBase& parameter), g_action_group_activate_action)



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