Add some annotations
authorMatthias Clasen <mclasen@redhat.com>
Sat, 21 Aug 2010 20:30:50 +0000 (16:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 21 Aug 2010 22:12:18 +0000 (18:12 -0400)
gio/gaction.c

index a7ed5f4..3f70cc9 100644 (file)
@@ -115,8 +115,10 @@ g_action_real_get_state_hint (GAction *action)
 }
 
 static void
-g_action_set_property (GObject *object, guint prop_id,
-                       const GValue *value, GParamSpec *pspec)
+g_action_set_property (GObject      *object,
+                       guint         prop_id,
+                       const GValue *value,
+                       GParamSpec   *pspec)
 {
   GAction *action = G_ACTION (object);
 
@@ -167,8 +169,10 @@ g_action_set_property (GObject *object, guint prop_id,
 }
 
 static void
-g_action_get_property (GObject *object, guint prop_id,
-                       GValue *value, GParamSpec *pspec)
+g_action_get_property (GObject    *object,
+                       guint       prop_id,
+                       GValue     *value,
+                       GParamSpec *pspec)
 {
   GAction *action = G_ACTION (object);
 
@@ -565,7 +569,7 @@ g_action_set_enabled (GAction  *action,
 /**
  * g_action_activate:
  * @action: a #GAction
- * @parameter: the parameter to the activation
+ * @parameter: (allow-none): the parameter to the activation
  *
  * Activates the action.
  *
@@ -600,7 +604,7 @@ g_action_activate (GAction  *action,
 /**
  * g_action_new:
  * @name: the name of the action
- * @parameter_type: the type of parameter to the activate function
+ * @parameter_type: (allow-none): the type of parameter to the activate function
  *
  * Creates a new action.
  *
@@ -623,7 +627,7 @@ g_action_new (const gchar        *name,
 /**
  * g_action_new_stateful:
  * @name: the name of the action
- * @parameter_type: the type of the parameter to the activate function
+ * @parameter_type: (allow-none): the type of the parameter to the activate function
  * @state: the initial state of the action
  *
  * Creates a new stateful action.