summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2011-09-20 17:48:54 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2011-09-20 17:52:56 -0400
commitdd1b28b0bcb2f40646e6fea636e26149c92e422c (patch)
tree5a0765b6f8926cc5907f988f7905ed933f53d6f8
parent00491f06c3080f14536b6aa00251055c6c584c21 (diff)
downloadglibmm-dd1b28b0bcb2f40646e6fea636e26149c92e422c.tar.gz
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.
-rw-r--r--ChangeLog8
-rw-r--r--gio/src/actiongroup.hg11
2 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ced145eb..a3d69ce6 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 8ff29e91..0e685008 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)