elm: Fix font_properties_get

This commit is contained in:
Kai Huuhko 2017-03-31 17:51:00 +03:00
parent add166fb62
commit b06c3151f7
1 changed files with 1 additions and 1 deletions

View File

@ -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)