[glibmm/glibmm-2-38] Gio::Action: Fix activate(const Glib::Variant<T_Value>& value)



commit 7b9336a3ea3527f9e88f820b94b1648d77a1fb92
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sat Jan 25 10:59:18 2014 +0100

    Gio::Action: Fix activate(const Glib::Variant<T_Value>& value)
    
    * gio/src/action.hg: Make activate(const Glib::Variant<T_Value>& value)
    call activate_variant(). Fix a typo in a comment. Bug #722896 comment 3.

 gio/src/action.hg |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/src/action.hg b/gio/src/action.hg
index b981e25..25b1f5b 100644
--- a/gio/src/action.hg
+++ b/gio/src/action.hg
@@ -164,7 +164,7 @@ public:
 
   //This is just here to maintain API compatibility,
   //by stopping the compiler from calling the
-  //regular change_state() with a Variant,
+  //regular activate() with a Variant,
   //if the application code previously called activate(VariantBase).
   template <typename T_Value>
   void activate(const Glib::Variant<T_Value>& parameter);
@@ -297,7 +297,7 @@ void Action::activate(const T_Value& parameter)
 template <typename T_Value>
 void Action::activate(const Glib::Variant<T_Value>& value)
 {
-  activate(value);
+  activate_variant(value);
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]