mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
Documentation fixes
This commit is contained in:
parent
c057ec2dd6
commit
97e34bd9fb
@ -26,6 +26,7 @@ IGNORE_HFILES= \
|
|||||||
fen-node.h \
|
fen-node.h \
|
||||||
gasynchelper.h \
|
gasynchelper.h \
|
||||||
gcontenttypeprivate.h \
|
gcontenttypeprivate.h \
|
||||||
|
gdelayedsettingsbackend.h \
|
||||||
gdummyfile.h \
|
gdummyfile.h \
|
||||||
gfamdirectorymonitor.h \
|
gfamdirectorymonitor.h \
|
||||||
gfamfilemonitor.h \
|
gfamfilemonitor.h \
|
||||||
@ -37,6 +38,7 @@ IGNORE_HFILES= \
|
|||||||
gio.h \
|
gio.h \
|
||||||
gioalias.h \
|
gioalias.h \
|
||||||
gioalias.h \
|
gioalias.h \
|
||||||
|
gkeyfilesettingsbackend.h \
|
||||||
gioenumtypes.h \
|
gioenumtypes.h \
|
||||||
giomodule-priv.h \
|
giomodule-priv.h \
|
||||||
glocaldirectorymonitor.h \
|
glocaldirectorymonitor.h \
|
||||||
@ -49,6 +51,7 @@ IGNORE_HFILES= \
|
|||||||
glocalvfs.h \
|
glocalvfs.h \
|
||||||
gnativevolumemonitor.h \
|
gnativevolumemonitor.h \
|
||||||
gnetworkingprivate.h \
|
gnetworkingprivate.h \
|
||||||
|
gnullsettingsbackend.h \
|
||||||
gpollfilemonitor.h \
|
gpollfilemonitor.h \
|
||||||
gsettingsbackendinternal.h \
|
gsettingsbackendinternal.h \
|
||||||
gthreadedresolver.h \
|
gthreadedresolver.h \
|
||||||
|
@ -77,11 +77,13 @@ is not explicitly specified, a GConf schema will be converted
|
|||||||
into a simple Gsettings schema, and a simple GSettings schema
|
into a simple Gsettings schema, and a simple GSettings schema
|
||||||
will be converted into XML.
|
will be converted into XML.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-i <replaceable>ID</replaceable></option>, <option>--schema-id=<replaceable>ID</replaceable></option></term>
|
<term><option>-i <replaceable>ID</replaceable></option>, <option>--schema-id=<replaceable>ID</replaceable></option></term>
|
||||||
<listitem><para>
|
<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>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -795,6 +795,7 @@ g_settings_get_value (GSettings *settings,
|
|||||||
* @settings: a #GSettings object
|
* @settings: a #GSettings object
|
||||||
* @key: the name of the key to set
|
* @key: the name of the key to set
|
||||||
* @value: a #GVariant of the correct type
|
* @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.
|
* Sets @key in @settings to @value.
|
||||||
*
|
*
|
||||||
@ -834,7 +835,7 @@ g_settings_set_value (GSettings *settings,
|
|||||||
* g_settings_get:
|
* g_settings_get:
|
||||||
* @settings: a #GSettings object
|
* @settings: a #GSettings object
|
||||||
* @key: the key to get the value for
|
* @key: the key to get the value for
|
||||||
* @format_string: a #GVariant format string
|
* @format: a #GVariant format string
|
||||||
* @...: arguments as per @format
|
* @...: arguments as per @format
|
||||||
*
|
*
|
||||||
* Gets the value that is stored at @key in @settings.
|
* Gets the value that is stored at @key in @settings.
|
||||||
@ -851,7 +852,7 @@ g_settings_set_value (GSettings *settings,
|
|||||||
void
|
void
|
||||||
g_settings_get (GSettings *settings,
|
g_settings_get (GSettings *settings,
|
||||||
const gchar *key,
|
const gchar *key,
|
||||||
const gchar *format_string,
|
const gchar *format,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
GVariant *value;
|
GVariant *value;
|
||||||
@ -859,8 +860,8 @@ g_settings_get (GSettings *settings,
|
|||||||
|
|
||||||
value = g_settings_get_value (settings, key);
|
value = g_settings_get_value (settings, key);
|
||||||
|
|
||||||
va_start (ap, format_string);
|
va_start (ap, format);
|
||||||
g_variant_get_va (value, format_string, NULL, &ap);
|
g_variant_get_va (value, format, NULL, &ap);
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
|
|
||||||
g_variant_unref (value);
|
g_variant_unref (value);
|
||||||
|
@ -85,11 +85,11 @@ GVariant * g_settings_get_value (GSettin
|
|||||||
|
|
||||||
gboolean g_settings_set (GSettings *settings,
|
gboolean g_settings_set (GSettings *settings,
|
||||||
const gchar *key,
|
const gchar *key,
|
||||||
const gchar *format_string,
|
const gchar *format,
|
||||||
...);
|
...);
|
||||||
void g_settings_get (GSettings *settings,
|
void g_settings_get (GSettings *settings,
|
||||||
const gchar *key,
|
const gchar *key,
|
||||||
const gchar *format_string,
|
const gchar *format,
|
||||||
...);
|
...);
|
||||||
|
|
||||||
gint g_settings_get_int (GSettings *settings,
|
gint g_settings_get_int (GSettings *settings,
|
||||||
|
@ -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
|
* @backend: a #GSettingsBackend implementation
|
||||||
* @path: the path containing the changes
|
* @path: the path containing the changes
|
||||||
* @origin_tag: the origin tag
|
* @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
|
* @backend: a #GSettingsBackend implementation
|
||||||
* @path: the name of the path
|
* @path: the name of the path
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user