[gi] add annotations for methods which take a gpointer which are really GObjects
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 16 Dec 2010 18:44:56 +0000 (13:44 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 16 Dec 2010 18:48:31 +0000 (13:48 -0500)
* bindings need to know how to marshal the pointer otherwise they send in
  the raw wrapped pointer causing crashes

gio/gsettings.c

index d88ad01..e8c53e0 100644 (file)
@@ -2553,7 +2553,7 @@ g_settings_bind_invert_boolean_set_mapping (const GValue       *value,
  * g_settings_bind:
  * @settings: a #GSettings object
  * @key: the key to bind
- * @object: a #GObject
+ * @object: (type GObject.GObject): a #GObject
  * @property: the name of the property to bind
  * @flags: flags for the binding
  *
@@ -2607,7 +2607,7 @@ g_settings_bind (GSettings          *settings,
  * g_settings_bind_with_mapping:
  * @settings: a #GSettings object
  * @key: the key to bind
- * @object: a #GObject
+ * @object: (type GObject.GObject): a #GObject
  * @property: the name of the property to bind
  * @flags: flags for the binding
  * @get_mapping: a function that gets called to convert values
@@ -2820,7 +2820,7 @@ g_settings_binding_writable_changed (GSettings   *settings,
  * g_settings_bind_writable:
  * @settings: a #GSettings object
  * @key: the key to bind
- * @object: a #GObject
+ * @object: (type GObject.GObject):a #GObject
  * @property: the name of a boolean property to bind
  * @inverted: whether to 'invert' the value
  *