[pygobject] Properly mark glib.get_user_special_dir() as a keywords method



commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
Author: Paul Pogonyshev <pogonyshev gmx net>
Date:   Sat May 2 23:54:52 2009 +0300

    Properly mark glib.get_user_special_dir() as a keywords method
    
    Fixes bug #581082.
---
 glib/glibmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/glib/glibmodule.c b/glib/glibmodule.c
index 5591d36..58206eb 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 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]