gsettings: add annotations for _new_full()
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 16 Nov 2011 19:51:45 +0000 (14:51 -0500)
committerRyan 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

index 0e6517e..ee6f1c9 100644 (file)
@@ -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