mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
Return NULL when the key is not found. (#513171, Дилян
2008-02-23 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_get_string_list): Return NULL when the key is not found. (#513171, Дилян Палаузов) svn path=/trunk/; revision=6563
This commit is contained in:
parent
11d7305d5a
commit
a24587ad09
@ -1,3 +1,8 @@
|
||||
2008-02-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gkeyfile.c (g_key_file_get_string_list): Return
|
||||
NULL when the key is not found. (#513171, Дилян Палаузов)
|
||||
|
||||
2008-02-23 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* tests/testglib.c: Don't test user directories for being
|
||||
|
@ -1520,6 +1520,8 @@ g_key_file_get_string_list (GKeyFile *key_file,
|
||||
}
|
||||
else
|
||||
g_propagate_error (error, key_file_error);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
len = g_slist_length (pieces);
|
||||
|
Loading…
Reference in New Issue
Block a user