Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Fix keyfile documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Clasen committed Mar 17, 2005
1 parent 809299e commit 141b0b5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)

2005-03-15 Matthias Clasen <mclasen@redhat.com>

* glib/goption.c (g_option_context_set_main_group): Warn
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-10
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)

2005-03-15 Matthias Clasen <mclasen@redhat.com>

* glib/goption.c (g_option_context_set_main_group): Warn
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-12
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)

2005-03-15 Matthias Clasen <mclasen@redhat.com>

* glib/goption.c (g_option_context_set_main_group): Warn
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.pre-2-8
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-03-17 Matthias Clasen <mclasen@redhat.com>

* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)

2005-03-15 Matthias Clasen <mclasen@redhat.com>

* glib/goption.c (g_option_context_set_main_group): Warn
Expand Down
18 changes: 6 additions & 12 deletions glib/gkeyfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1608,8 +1608,7 @@ g_key_file_get_locale_string (GKeyFile *key_file,
*
* Returns the values associated with @key under @group_name
* translated in the given @locale if available. If @locale is
* %NULL then the current locale is assumed. If @group_name is
* %NULL, then the start group is used.
* %NULL then the current locale is assumed.
* If @key cannot be found then %NULL is returned and @error is set to
* #G_KEY_FILE_ERROR_KEY_NOT_FOUND. If the values associated
Expand Down Expand Up @@ -1674,8 +1673,7 @@ g_key_file_get_locale_string_list (GKeyFile *key_file,
*
* Associates a list of string values for @key and @locale under
* @group_name. If the translation for @key cannot be found then
* it is created. If @group_name is %NULL, the start group is
* used.
* it is created.
*
* Since: 2.6
**/
Expand Down Expand Up @@ -1724,7 +1722,7 @@ g_key_file_set_locale_string_list (GKeyFile *key_file,
* @error: return location for a #GError
*
* Returns the value associated with @key under @group_name as a
* boolean. If @group_name is %NULL, the start group is used.
* boolean.
*
* If @key cannot be found then the return value is undefined and
* @error is set to #G_KEY_FILE_ERROR_KEY_NOT_FOUND. Likewise, if
Expand Down Expand Up @@ -1789,8 +1787,7 @@ g_key_file_get_boolean (GKeyFile *key_file,
* @value: %TRUE or %FALSE
*
* Associates a new boolean value with @key under @group_name.
* If @key cannot be found then it is created. If @group_name
* is %NULL, the start group is used.
* If @key cannot be found then it is created.
*
* Since: 2.6
**/
Expand Down Expand Up @@ -2006,8 +2003,7 @@ g_key_file_get_integer (GKeyFile *key_file,
* @value: an integer value
*
* Associates a new integer value with @key under @group_name.
* If @key cannot be found then it is created. If @group_name
* is %NULL, the start group is used.
* If @key cannot be found then it is created.
*
* Since: 2.6
**/
Expand Down Expand Up @@ -2109,7 +2105,6 @@ g_key_file_get_integer_list (GKeyFile *key_file,
*
* Associates a list of integer values with @key under
* @group_name. If @key cannot be found then it is created.
* If @group_name is %NULL the start group is used.
*
* Since: 2.6
**/
Expand Down Expand Up @@ -2570,8 +2565,7 @@ g_key_file_has_group (GKeyFile *key_file,
* @error: return location for a #GError
*
* Looks whether the key file has the key @key in the group
* @group_name. If @group_name is %NULL, the start group is
* used.
* @group_name.
*
* Return value: %TRUE if @key is a part of @group_name, %FALSE
* otherwise.
Expand Down

0 comments on commit 141b0b5

Please sign in to comment.