[pygobject] fix commit 7fe83108 which didn't use the compat functions for string handling



commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
Author: John (J5) Palmieri <johnp redhat com>
Date:   Tue Sep 28 15:28:16 2010 -0400

    fix commit 7fe83108 which didn't use the compat functions for string handling

 glib/glibmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/glibmodule.c b/glib/glibmodule.c
index ebea163..4a58bc2 100644
--- a/glib/glibmodule.c
+++ b/glib/glibmodule.c
@@ -627,7 +627,7 @@ pyglib_uri_list_extract_uris(PyObject *self, PyObject *args, PyObject *kwargs)
 
     ret = PyTuple_New(i);
     for (j = 0; j < i; j++)
-        PyTuple_SetItem(ret, j, PyString_FromString(uris[j]));
+        PyTuple_SetItem(ret, j, PYGLIB_PyUnicode_FromString(uris[j]));
 
     g_strfreev(uris);
 



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