[glib/wip/schemasource] gsettings: add annotations for _new_full()
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/schemasource] gsettings: add annotations for _new_full()
- Date: Wed, 16 Nov 2011 22:25:28 +0000 (UTC)
commit 978a165ada9c9789c4b830de7ccf6aa7c8298d45
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Nov 16 14:51:45 2011 -0500
gsettings: add annotations for _new_full()
The path and backend arguments to g_settings_new_full are optional.
gio/gsettings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index 0e6517e..ee6f1c9 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -943,8 +943,8 @@ g_settings_new_with_backend_and_path (const gchar *schema_id,
/**
* g_settings_new_full:
* @schema: a #GSettingsSchema
- * @backend: a #GSettingsBackend
- * @path: the path to use
+ * @backend: (allow-none): a #GSettingsBackend
+ * @path: (allow-none): the path to use
* @returns: a new #GSettings object
*
* Creates a new #GSettings object with a given schema, backend and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]