diff options
author | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-08-08 21:37:54 +0200 |
---|---|---|
committer | Gian Mario Tagliaretti <gianmt@gnome.org> | 2009-08-08 21:37:54 +0200 |
commit | f1fad96da2c531fbd3218923baa4fe806a2942d4 (patch) | |
tree | 35b5063faceedf84571673f7686b8d8ca664fbd3 | |
parent | b7907cf6ff6ccf8d38b5206f09f5c864c205e5de (diff) | |
download | pygobject-f1fad96da2c531fbd3218923baa4fe806a2942d4.tar.gz pygobject-f1fad96da2c531fbd3218923baa4fe806a2942d4.tar.xz pygobject-f1fad96da2c531fbd3218923baa4fe806a2942d4.zip |
Bug 590063 – GFileInfo.list_attributes should accept None/NULL
-rw-r--r-- | gio/gfileinfo.override | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gfileinfo.override b/gio/gfileinfo.override index 401a590..7643bf7 100644 --- a/gio/gfileinfo.override +++ b/gio/gfileinfo.override @@ -48,13 +48,13 @@ _wrap_g_file_info_list_attributes(PyGObject *self, PyObject *kwargs) { char *kwlist[] = { "name_space", NULL}; - gchar *name_space; + gchar *name_space = NULL; gchar **names; gchar **n; PyObject *ret; if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "s:gio.FileInfo.list_attributes", + "|z:gio.FileInfo.list_attributes", kwlist, &name_space)) return NULL; |