[glib] GPropertyAction: add type annotation to constructor's object argument



commit 3f596074a90c692fa5de736e37a0cc8bb1685c19
Author: Evan Nemerson <evan nemerson com>
Date:   Thu Feb 26 10:17:59 2015 -0800

    GPropertyAction: add type annotation to constructor's object argument
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745239

 gio/gpropertyaction.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gpropertyaction.c b/gio/gpropertyaction.c
index 857c85c..8c4a495 100644
--- a/gio/gpropertyaction.c
+++ b/gio/gpropertyaction.c
@@ -520,7 +520,8 @@ g_property_action_class_init (GPropertyActionClass *class)
 /**
  * g_property_action_new:
  * @name: the name of the action to create
- * @object: the object that has the property to wrap
+ * @object: (type GObject.Object): the object that has the property
+ *   to wrap
  * @property_name: the name of the property
  *
  * Creates a #GAction corresponding to the value of property


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