[glib] gio: Add some missing type annotations to object arguments
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Add some missing type annotations to object arguments
- Date: Sun, 1 Mar 2015 17:14:14 +0000 (UTC)
commit eb92b4fdff8ec70511b9a249999ad8864007c36a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Mar 1 18:12:09 2015 +0100
gio: Add some missing type annotations to object arguments
Similar to https://bugzilla.gnome.org/show_bug.cgi?id=745239
gio/gapplication.c | 4 ++--
gio/gsettings.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 51f40f1..1fe12e9 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -2757,7 +2757,7 @@ g_application_notify_busy_binding (GObject *object,
/**
* g_application_bind_busy_property:
* @application: a #GApplication
- * @object: a #GObject
+ * @object: (type GObject.Object): a #GObject
* @property: the name of a boolean property of @object
*
* Marks @application as busy (see g_application_mark_busy()) while
@@ -2812,7 +2812,7 @@ g_application_bind_busy_property (GApplication *application,
/**
* g_application_unbind_busy_property:
* @application: a #GApplication
- * @object: a #GObject
+ * @object: (type GObject.Object): a #GObject
* @property: the name of a boolean property of @object
*
* Destroys a binding between @property and the busy state of
diff --git a/gio/gsettings.c b/gio/gsettings.c
index 6485095..ad8c408 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -2928,7 +2928,7 @@ g_settings_bind_writable (GSettings *settings,
/**
* g_settings_unbind:
- * @object: the object
+ * @object: (type GObject.Object): the object
* @property: the property whose binding is removed
*
* Removes an existing binding for @property on @object.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]