[glib] GSettings: fix example in the docs
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GSettings: fix example in the docs
- Date: Tue, 10 May 2011 13:26:09 +0000 (UTC)
commit c2a2350cc1905fb29167c0ee29d0c1f3c61a2865
Author: Ryan Lortie <desrt desrt ca>
Date: Tue May 10 15:25:54 2011 +0200
GSettings: fix example in the docs
gio/gsettings.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index e75d5b8..2b1c161 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -141,16 +141,16 @@
* <programlisting><![CDATA[
* <schemalist>
*
- * <enum id="myenum">
+ * <enum id="org.gtk.Test.myenum">
* <value nick="first" value="1"/>
* <value nick="second" value="2"/>
* </enum>
*
- * <enum id="myflags">
+ * <flags id="org.gtk.Test.myflags">
* <value nick="flag1" value="1"/>
* <value nick="flag2" value="2"/>
* <value nick="flag3" value="4"/>
- * </enum>
+ * </flags>
*
* <schema id="org.gtk.Test">
*
@@ -172,11 +172,11 @@
* <default>'Joe'</default>
* </key>
*
- * <key name='enumerated-key' enum='myenum'>
+ * <key name='enumerated-key' enum='org.gtk.Test.myenum'>
* <default>'first'</default>
* </key>
*
- * <key name='flags-key' flags='myflags'>
+ * <key name='flags-key' flags='org.gtk.Test.myflags'>
* <default>["flag1",flag2"]</default>
* </key>
* </schema>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]