mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
Merge branch 'ebassi/keyfile-docs' into 'main'
docs: Use the type name as the section name for GKeyFile See merge request GNOME/glib!3453
This commit is contained in:
@@ -90,8 +90,8 @@
|
|||||||
<xi:include href="xml/gregex.xml" />
|
<xi:include href="xml/gregex.xml" />
|
||||||
<xi:include href="regex-syntax.xml" />
|
<xi:include href="regex-syntax.xml" />
|
||||||
<xi:include href="xml/markup.xml" />
|
<xi:include href="xml/markup.xml" />
|
||||||
<xi:include href="xml/keyfile.xml" />
|
<xi:include href="xml/gkeyfile.xml" />
|
||||||
<xi:include href="xml/bookmarkfile.xml" />
|
<xi:include href="xml/gbookmarkfile.xml" />
|
||||||
<xi:include href="xml/testing.xml" />
|
<xi:include href="xml/testing.xml" />
|
||||||
<xi:include href="xml/gunix.xml" />
|
<xi:include href="xml/gunix.xml" />
|
||||||
<xi:include href="xml/windows.xml" />
|
<xi:include href="xml/windows.xml" />
|
||||||
|
@@ -2064,7 +2064,7 @@ GErrorType
|
|||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<TITLE>Key-value file parser</TITLE>
|
<TITLE>Key-value file parser</TITLE>
|
||||||
<FILE>keyfile</FILE>
|
<FILE>gkeyfile</FILE>
|
||||||
GKeyFile
|
GKeyFile
|
||||||
G_KEY_FILE_ERROR
|
G_KEY_FILE_ERROR
|
||||||
GKeyFileError
|
GKeyFileError
|
||||||
@@ -2159,7 +2159,7 @@ g_key_file_get_type
|
|||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<TITLE>Bookmark file parser</TITLE>
|
<TITLE>Bookmark file parser</TITLE>
|
||||||
<FILE>bookmarkfile</FILE>
|
<FILE>gbookmarkfile</FILE>
|
||||||
GBookmarkFile
|
GBookmarkFile
|
||||||
G_BOOKMARK_FILE_ERROR
|
G_BOOKMARK_FILE_ERROR
|
||||||
GBookmarkFileError
|
GBookmarkFileError
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:bookmarkfile
|
* SECTION:gbookmarkfile
|
||||||
* @title: Bookmark file parser
|
* @title: Bookmark file parser
|
||||||
* @short_description: parses files containing bookmarks
|
* @short_description: parses files containing bookmarks
|
||||||
*
|
*
|
||||||
|
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:keyfile
|
* SECTION:gkeyfile
|
||||||
* @title: Key-value file parser
|
* @title: Key-value file parser
|
||||||
* @short_description: parses .ini-like config files
|
* @short_description: parses .ini-like config files
|
||||||
*
|
*
|
||||||
@@ -160,6 +160,7 @@
|
|||||||
* restricted to ASCII characters.
|
* restricted to ASCII characters.
|
||||||
*
|
*
|
||||||
* Here is an example of loading a key file and reading a value:
|
* Here is an example of loading a key file and reading a value:
|
||||||
|
*
|
||||||
* |[<!-- language="C" -->
|
* |[<!-- language="C" -->
|
||||||
* g_autoptr(GError) error = NULL;
|
* g_autoptr(GError) error = NULL;
|
||||||
* g_autoptr(GKeyFile) key_file = g_key_file_new ();
|
* g_autoptr(GKeyFile) key_file = g_key_file_new ();
|
||||||
@@ -186,6 +187,7 @@
|
|||||||
* ]|
|
* ]|
|
||||||
*
|
*
|
||||||
* Here is an example of creating and saving a key file:
|
* Here is an example of creating and saving a key file:
|
||||||
|
*
|
||||||
* |[<!-- language="C" -->
|
* |[<!-- language="C" -->
|
||||||
* g_autoptr(GKeyFile) key_file = g_key_file_new ();
|
* g_autoptr(GKeyFile) key_file = g_key_file_new ();
|
||||||
* const gchar *val = …;
|
* const gchar *val = …;
|
||||||
|
Reference in New Issue
Block a user