[glibmm/glibmm-2-34] SimpleAction: Fix stateful action constructor typo, allowing use.
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-34] SimpleAction: Fix stateful action constructor typo, allowing use.
- Date: Fri, 14 Dec 2012 11:50:22 +0000 (UTC)
commit f644bfeb293168b98f20380dbaeeedd7bf32d7b4
Author: Andrew Potter <agpotter gmail com>
Date: Fri Dec 14 12:43:43 2012 +0100
SimpleAction: Fix stateful action constructor typo, allowing use.
* gio/src/simpleaction.hg: Fix 'sate' typo to 'state', allowing
the constructor to be used. Bug #690122.
ChangeLog | 7 +++++++
gio/src/simpleaction.hg | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d950b39..b4b035e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-12-14 Andrew Potter <agpotter gmail com>
+
+ SimpleAction: Fix stateful action constructor typo, allowing use.
+
+ * gio/src/simpleaction.hg: Fix 'sate' typo to 'state', allowing
+ the constructor to be used. Bug #690122.
+
2012-11-20 Josà Alburquerque <jaalburquerque gmail com>
VariantType: Correct the referencing in the create*() methods.
diff --git a/gio/src/simpleaction.hg b/gio/src/simpleaction.hg
index 6432b39..3fbbdf1 100644
--- a/gio/src/simpleaction.hg
+++ b/gio/src/simpleaction.hg
@@ -50,7 +50,7 @@ protected:
#m4 _CONVERSION(`const Glib::VariantType&',`const GVariantType*',`$3.gobj()')
_WRAP_CTOR(SimpleAction(const Glib::ustring& name, const Glib::VariantType& parameter_type), g_simple_action_new)
- _WRAP_CTOR(SimpleAction(const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& sate), g_simple_action_new_stateful)
+ _WRAP_CTOR(SimpleAction(const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& state), g_simple_action_new_stateful)
public:
@@ -60,7 +60,7 @@ public:
_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_CREATE(const Glib::ustring& name, const Glib::VariantType& parameter_type, const Glib::VariantBase& state)
_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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]