[pygobject/gsoc2009: 109/160] Refactor _wrap_g_irepository_get_typelib_path



commit 1eb01d99b49d068a44dde440b05e66404efcb8a1
Author: Simon van der Linden <svdlinden src gnome org>
Date:   Mon Aug 3 23:38:39 2009 +0200

    Refactor _wrap_g_irepository_get_typelib_path

 gi/pygirepository.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gi/pygirepository.c b/gi/pygirepository.c
index 50b5ad8..1e9decb 100644
--- a/gi/pygirepository.c
+++ b/gi/pygirepository.c
@@ -182,12 +182,10 @@ _wrap_g_irepository_get_infos(PyGIRepository *self, PyObject *args, PyObject *kw
 }
 
 static PyObject *
-_wrap_g_irepository_get_typelib_path(PyGIRepository *self,
-                                     PyObject *args,
-                                     PyObject *kwargs)
+_wrap_g_irepository_get_typelib_path(PyGIRepository *self, PyObject *args, PyObject *kwargs)
 {
     static char *kwlist[] = { "namespace", NULL };
-    gchar *namespace_;
+    const char *namespace_;
     const gchar *typelib_path;
 
     if (!PyArg_ParseTupleAndKeywords(args, kwargs,



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