[glib] [gi] add annotations for methods which take a gpointer which are really GObjects



commit 6f215e477dd91446f64d3ae4a05e47d0138a5d0d
Author: John (J5) Palmieri <johnp redhat com>
Date:   Thu Dec 16 13:44:56 2010 -0500

    [gi] add annotations for methods which take a gpointer which are really GObjects
    
    * bindings need to know how to marshal the pointer otherwise they send in
      the raw wrapped pointer causing crashes

 gio/gsettings.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index d88ad01..e8c53e0 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -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
  *



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