Documentation fixes

This commit is contained in:
Matthias Clasen 2010-04-16 17:51:59 -04:00
parent c057ec2dd6
commit 97e34bd9fb
5 changed files with 15 additions and 9 deletions

View File

@ -26,6 +26,7 @@ IGNORE_HFILES= \
fen-node.h \
gasynchelper.h \
gcontenttypeprivate.h \
gdelayedsettingsbackend.h \
gdummyfile.h \
gfamdirectorymonitor.h \
gfamfilemonitor.h \
@ -37,6 +38,7 @@ IGNORE_HFILES= \
gio.h \
gioalias.h \
gioalias.h \
gkeyfilesettingsbackend.h \
gioenumtypes.h \
giomodule-priv.h \
glocaldirectorymonitor.h \
@ -49,6 +51,7 @@ IGNORE_HFILES= \
glocalvfs.h \
gnativevolumemonitor.h \
gnetworkingprivate.h \
gnullsettingsbackend.h \
gpollfilemonitor.h \
gsettingsbackendinternal.h \
gthreadedresolver.h \

View File

@ -77,11 +77,13 @@ is not explicitly specified, a GConf schema will be converted
into a simple Gsettings schema, and a simple GSettings schema
will be converted into XML.
</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-i <replaceable>ID</replaceable></option>, <option>--schema-id=<replaceable>ID</replaceable></option></term>
<listitem><para>
Use <replaceable>ID</replaceable> as the schema id in the generated GSettings schema.
Use <replaceable>ID</replaceable> as the schema id in the generated
GSettings schema.
</para></listitem>
</varlistentry>

View File

@ -795,6 +795,7 @@ g_settings_get_value (GSettings *settings,
* @settings: a #GSettings object
* @key: the name of the key to set
* @value: a #GVariant of the correct type
* @returns: %TRUE if setting succeeded, %FALSE if the key was not writable
*
* Sets @key in @settings to @value.
*
@ -834,7 +835,7 @@ g_settings_set_value (GSettings *settings,
* g_settings_get:
* @settings: a #GSettings object
* @key: the key to get the value for
* @format_string: a #GVariant format string
* @format: a #GVariant format string
* @...: arguments as per @format
*
* Gets the value that is stored at @key in @settings.
@ -851,7 +852,7 @@ g_settings_set_value (GSettings *settings,
void
g_settings_get (GSettings *settings,
const gchar *key,
const gchar *format_string,
const gchar *format,
...)
{
GVariant *value;
@ -859,8 +860,8 @@ g_settings_get (GSettings *settings,
value = g_settings_get_value (settings, key);
va_start (ap, format_string);
g_variant_get_va (value, format_string, NULL, &ap);
va_start (ap, format);
g_variant_get_va (value, format, NULL, &ap);
va_end (ap);
g_variant_unref (value);

View File

@ -85,11 +85,11 @@ GVariant * g_settings_get_value (GSettin
gboolean g_settings_set (GSettings *settings,
const gchar *key,
const gchar *format_string,
const gchar *format,
...);
void g_settings_get (GSettings *settings,
const gchar *key,
const gchar *format_string,
const gchar *format,
...);
gint g_settings_get_int (GSettings *settings,

View File

@ -272,7 +272,7 @@ g_settings_backend_keys_changed (GSettingsBackend *backend,
}
/**
* g_settings_backend_keys_changed:
* g_settings_backend_path_changed:
* @backend: a #GSettingsBackend implementation
* @path: the path containing the changes
* @origin_tag: the origin tag
@ -341,7 +341,7 @@ g_settings_backend_writable_changed (GSettingsBackend *backend,
}
/**
* g_settings_backend_writable_changed:
* g_settings_backend_path_writable_changed:
* @backend: a #GSettingsBackend implementation
* @path: the name of the path
*