summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Potter <agpotter@gmail.com>2012-12-14 12:43:43 +0100
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2012-12-14 12:43:43 +0100
commitf644bfeb293168b98f20380dbaeeedd7bf32d7b4 (patch)
tree9203597c39d5198b7ac3eff401530e7d2c46795c
parent2f305fc3382859ede923f17c377b143a9d12f311 (diff)
downloadglibmm-f644bfeb293168b98f20380dbaeeedd7bf32d7b4.tar.gz
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.
-rw-r--r--ChangeLog7
-rw-r--r--gio/src/simpleaction.hg4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d950b396..b4b035e6 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 6432b39e..3fbbdf1a 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)