aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2017-03-31 17:51:00 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2017-03-31 17:51:00 +0300
commitb06c3151f75a6bdc159c266b9bd5a4da6cc93f36 (patch)
tree401f9c67c09218fe23210bef91516ebbf7220355
parentNew 1.19 API: elm.Calendar.date_{min,max} (diff)
downloadpython-efl-b06c3151f75a6bdc159c266b9bd5a4da6cc93f36.tar.gz
elm: Fix font_properties_get
-rw-r--r--efl/elementary/__init__.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/efl/elementary/__init__.pyx b/efl/elementary/__init__.pyx
index a8fc909..f185258 100644
--- a/efl/elementary/__init__.pyx
+++ b/efl/elementary/__init__.pyx
@@ -1034,7 +1034,7 @@ def font_properties_get(font not None):
"""
if isinstance(font, unicode): font = PyUnicode_AsUTF8String(font)
- cdef FontProperties ret = FontProperties.__new__()
+ cdef FontProperties ret = FontProperties.__new__(FontProperties)
ret.efp = elm_font_properties_get(<const char *>font)