From 1d82282f18fb23dc25fe9cc5657ed16aeff11481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Wed, 21 Sep 2011 23:14:09 -0400 Subject: SimpleAction: Add create() methods. * gio/src/simpleaction.hg: Add two forgotten create methods for the class. Also filed bug #659783 about not being able to wrap the signals. --- ChangeLog | 8 ++++++++ gio/src/simpleaction.hg | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30aac090..5245338d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-09-21 José Alburquerque + + SimpleAction: Add create() methods. + + * gio/src/simpleaction.hg: Add two forgotten create methods for the + class. Also filed bug #659783 about not being able to wrap the + signals. + 2011-09-21 José Alburquerque giomm: Add SimpleAction, an implementation of the Action interface. diff --git a/gio/src/simpleaction.hg b/gio/src/simpleaction.hg index a67c5244..08bdc581 100644 --- a/gio/src/simpleaction.hg +++ b/gio/src/simpleaction.hg @@ -50,6 +50,12 @@ protected: _WRAP_CTOR(SimpleAction(const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& sate), g_simple_action_new_stateful) public: + _WRAP_METHOD_DOCS_ONLY(g_simple_action_new) + _WRAP_CREATE(const Glib::ustring& name, const Glib::VariantType& parameter_type) + + _WRAP_METHOD_DOCS_ONLY(g_simple_action_new_stateful) + _WRAP_CREATE(const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& sate) + _WRAP_METHOD(void set_enabled(bool enabled), g_simple_action_set_enabled) _WRAP_METHOD(void set_state(const Glib::VariantBase& value), g_simple_action_set_state) @@ -63,6 +69,8 @@ public: /* TODO: Signals are not wrapped because GSimpleAction does not declare a * standard _GSimpleActionClass structure. + * See bug #659783: + * https://bugzilla.gnome.org/show_bug.cgi?id=659783 #m4 _CONVERSION(`GVariant*',`const Glib::VariantBase&',`Glib::wrap($3, true)') _WRAP_SIGNAL(void activate(const Glib::VariantBase& parameter), "activate") -- cgit v1.2.1