summaryrefslogtreecommitdiff
path: root/efl/utils
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-10-02 05:59:21 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2013-10-02 05:59:21 +0300
commitbef896b4908dc7e273b17643114e17b178d80b55 (patch)
tree8019e9c0e7f303647738790723548ecb67f79deb /efl/utils
parent5f4a46da4b725329495366130b4ef03ebaa1d376 (diff)
Elementary: Fix transit del_cb
Diffstat (limited to 'efl/utils')
-rw-r--r--efl/utils/conversions.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/efl/utils/conversions.pyx b/efl/utils/conversions.pyx
index 4976c2f..a9b9bb8 100644
--- a/efl/utils/conversions.pyx
+++ b/efl/utils/conversions.pyx
@@ -21,7 +21,7 @@ from cpython cimport PyUnicode_AsUTF8String
21 21
22from efl.c_eo cimport Eo as cEo 22from efl.c_eo cimport Eo as cEo
23from efl.eo cimport Eo, object_from_instance 23from efl.eo cimport Eo, object_from_instance
24from efl.eina cimport eina_list_append 24from efl.eina cimport eina_list_append, eina_stringshare_add
25 25
26cdef unicode _touni(char* s): 26cdef unicode _touni(char* s):
27 """ 27 """
@@ -108,7 +108,7 @@ cdef Eina_List *python_list_strings_to_eina_list(list strings):
108 cdef Eina_List *lst = NULL 108 cdef Eina_List *lst = NULL
109 for s in strings: 109 for s in strings:
110 if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s) 110 if isinstance(s, unicode): s = PyUnicode_AsUTF8String(s)
111 lst = eina_list_append(lst, strdup(s)) 111 lst = eina_list_append(lst, eina_stringshare_add(s))
112 return lst 112 return lst
113 113
114 114