[glib] g_settings_new_full(): more docs



commit 7f285291900f0cf7892bd79a5721d95f9bcdce4e
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Nov 17 17:33:19 2011 +0000

    g_settings_new_full(): more docs

 gio/gsettings.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index ee6f1c9..3d25107 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -964,6 +964,13 @@ g_settings_new_with_backend_and_path (const gchar      *schema_id,
  * @schema, @backend and @path, and the main context is taken from the
  * thread-default (as per g_settings_new()).
  *
+ * If @backend is %NULL then the default backend is used.
+ *
+ * If @path is %NULL then the path from the schema is used.  It is an
+ * error f @path is %NULL and the schema has no path of its own or if
+ * @path is non-%NULL and not equal to the path that the schema does
+ * have.
+ *
  * Since: 2.32
  */
 GSettings *



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