diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2011-09-21 23:14:09 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2011-09-21 23:16:41 -0400 |
commit | 1d82282f18fb23dc25fe9cc5657ed16aeff11481 (patch) | |
tree | fd9dae75f5c09cd20cf8c7fcfedb0d7e13af09ce /gio/src | |
parent | 27d6d6ec92f4c527d878c56b541ba11e8bc0f8a6 (diff) | |
download | glibmm-1d82282f18fb23dc25fe9cc5657ed16aeff11481.tar.gz |
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.
Diffstat (limited to 'gio/src')
-rw-r--r-- | gio/src/simpleaction.hg | 8 |
1 files changed, 8 insertions, 0 deletions
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") |