[gtk+/wip/action-helper] gtk_action_helper_new: fix docstring



commit e7687954329f1f3a065fd56b6d8cbf6eb4dfcd4e
Author: Lars Uebernickel <lars uebernickel canonical com>
Date:   Fri Aug 10 16:42:28 2012 +0200

    gtk_action_helper_new: fix docstring

 gtk/gtkactionhelper.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkactionhelper.c b/gtk/gtkactionhelper.c
index 4648aff..eac1c62 100644
--- a/gtk/gtkactionhelper.c
+++ b/gtk/gtkactionhelper.c
@@ -354,9 +354,7 @@ gtk_action_helper_observer_iface_init (GActionObserverInterface *iface)
 
 /*< private >
  * gtk_action_helper_new:
- * @widget: a #GtkWidget
- * @action_name: an action name, as per #GtkActionable
- * @action_target: an action target, as per #GtkActionable
+ * @widget: a #GtkWidget implementing #GtkActionable
  *
  * Creates a helper to track the state of a named action.  This will
  * usually be used by widgets implementing #GtkActionable.
@@ -368,8 +366,6 @@ gtk_action_helper_observer_iface_init (GActionObserverInterface *iface)
  * of the widget, you should take a ref on @widget for each ref you hold
  * on the helper.
  *
- * This function consumes @action_target if it is floating.
- *
  * Returns: a new #GtkActionHelper
  */
 GtkActionHelper *
@@ -481,6 +477,13 @@ gtk_action_helper_set_action_name (GtkActionHelper *helper,
     g_object_notify (G_OBJECT (helper->widget), "action-name");
 }
 
+/*< private >
+ * gtk_action_helper_set_action_target_value:
+ * @helper: a #GtkActionHelper
+ * @target_value: an action target, as per #GtkActionable
+ *
+ * This function consumes @action_target if it is floating.
+ */
 void
 gtk_action_helper_set_action_target_value (GtkActionHelper *helper,
                                            GVariant        *target_value)



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