summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Pogonyshev <pogonyshev@gmx.net>2009-05-02 23:54:52 +0300
committerPaul Pogonyshev <pogonyshev@gmx.net>2009-05-03 15:50:09 +0300
commit442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1 (patch)
tree90b658331e6a967584f1fce97629d95e83a30ed4
parentf466dca880cc6ea68b9fe236943eea7a07d33520 (diff)
downloadpygobject-442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1.tar.gz
Properly mark glib.get_user_special_dir() as a keywords method
Fixes bug #581082.
-rw-r--r--glib/glibmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmodule.c b/glib/glibmodule.c
index 5591d361..58206eb2 100644
--- a/glib/glibmodule.c
+++ b/glib/glibmodule.c
@@ -669,7 +669,7 @@ static PyMethodDef _glib_functions[] = {
{ "get_user_data_dir",
(PyCFunction)pyglib_get_user_data_dir, METH_NOARGS },
{ "get_user_special_dir",
- (PyCFunction)pyglib_get_user_special_dir, METH_VARARGS },
+ (PyCFunction)pyglib_get_user_special_dir, METH_VARARGS|METH_KEYWORDS },
{ "markup_escape_text",
(PyCFunction)pyglib_markup_escape_text, METH_VARARGS|METH_KEYWORDS },
{ NULL, NULL, 0 }