summaryrefslogtreecommitdiff
path: root/gir/gio-2.0.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-09-02 20:45:01 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-09-02 20:45:01 +0200
commitbc53f2d0d33846ae3108486cfbc40d6e5ff43e22 (patch)
treeea56c3153ba605e37447732900352ac1d0459ae9 /gir/gio-2.0.c
parentbf349e6f79ed24bedcf64cf262bbc87ff855064b (diff)
downloadgobject-introspection-bc53f2d0d33846ae3108486cfbc40d6e5ff43e22.tar.gz
gir: Update annotations from glib git master
Diffstat (limited to 'gir/gio-2.0.c')
-rw-r--r--gir/gio-2.0.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c
index db7e25b5..646a759a 100644
--- a/gir/gio-2.0.c
+++ b/gir/gio-2.0.c
@@ -32938,6 +32938,12 @@
* Creates a new #GSettings object with the schema specified by
* @schema_id.
*
+ * It is an error for the schema to not exist: schemas are an
+ * essential part of a program, as they provide type information.
+ * If schemas need to be dynamically loaded (for example, from an
+ * optional runtime dependency), g_settings_schema_source_lookup()
+ * can be used to test for their existence before loading them.
+ *
* Signals on the newly created #GSettings object will be dispatched
* via the thread-default #GMainContext in effect at the time of the
* call to g_settings_new(). The new #GSettings will hold a reference