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:
Matthias Clasen 2008-02-23 05:25:27 +00:00 committed by Matthias Clasen
parent 11d7305d5a
commit a24587ad09
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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);