[glibmm] Gio::ActionMap: Fix some trivial documentation bugs



commit 97e7b1a91c635c5960f1b21ff266d50cc15c260c
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Tue Dec 27 09:39:30 2016 +0100

    Gio::ActionMap: Fix some trivial documentation bugs

 gio/src/actionmap.hg |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/src/actionmap.hg b/gio/src/actionmap.hg
index 4c57342..1ae1615 100644
--- a/gio/src/actionmap.hg
+++ b/gio/src/actionmap.hg
@@ -97,7 +97,7 @@ public:
    *
    * @param name The name of the Action.
    * @param slot The callback method to be called when the action is activated.
-   * @parameter_type The type of parameter to be passed to the slot.
+   * @param parameter_type The type of parameter to be passed to the slot.
    * @return The Action.
    */
   Glib::RefPtr<SimpleAction> add_action_with_parameter(const Glib::ustring& name, const 
ActivateWithParameterSlot& slot, const Glib::VariantType& parameter_type);
@@ -137,7 +137,7 @@ public:
    * See add_action_radio_string().
    *
    * For instance,
-   * void on_slot_activated(const Glib::VariantBase& parameter);
+   * void on_slot_activated(const Glib::ustring& parameter);
    */
   using ActivateWithStringParameterSlot = sigc::slot<void(const Glib::ustring&)>;
 
@@ -164,10 +164,10 @@ public:
   Glib::RefPtr<SimpleAction> add_action_radio_integer(const Glib::ustring& name, gint32 state);
 
   /** A Slot to be called when an action has been activated.
-   * See add_action_radio_int().
+   * See add_action_radio_integer().
    *
    * For instance,
-   * void on_slot_activated(const Glib::VariantBase& parameter);
+   * void on_slot_activated(int parameter);
    */
   using ActivateWithIntParameterSlot = sigc::slot<void(int)>;
   


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