projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339b5f
)
gsettings: add annotations for _new_full()
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 16 Nov 2011 19:51:45 +0000
(14:51 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 17 Nov 2011 14:03:39 +0000
(14:03 +0000)
The path and backend arguments to g_settings_new_full are optional.
gio/gsettings.c
patch
|
blob
|
history
diff --git
a/gio/gsettings.c
b/gio/gsettings.c
index
0e6517e
..
ee6f1c9
100644
(file)
--- 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