GNOME Bugzilla – Bug 476856
Inconsistency between standard and implementation of the interface "g_key_file_get_boolean_list"
Last modified: 2008-10-17 07:48:13 UTC
Please describe the problem: Documentation for the interface g_key_file_get_boolean_list states: "Returns the values associated with key under group_name as booleans. If group_name is NULL, the start_group is used.". But invocation of the interface with the parameter "group_name" = NULL returns with the following error message "GLib-CRITICAL **: g_key_file_get_boolean_list: assertion `group_name != NULL' failed". Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: The detailed bug description can be found at: http://linuxtesting.org/results/report?num=D0055
Created attachment 95583 [details] The test case reproducing the bug
2007-12-22 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c: Remove wrong documentation about start group handling. (#476856, Areg Beketovski)
The sentence "If group_name is NULL, the start_group is used" still remains in the description of g_key_file_get_double() and g_key_file_set_boolean_list() in the reference for v.2.19.0. It seems that it is not intentional: there is no such requirement for all other functions from this group. Should it be removed from the docs?