diff --git a/efl/elementary/general.pyx b/efl/elementary/general.pyx index 7b1b7c0..cbaca6e 100644 --- a/efl/elementary/general.pyx +++ b/efl/elementary/general.pyx @@ -406,7 +406,7 @@ def language_set(lang not None): """ if isinstance(lang, unicode): lang = PyUnicode_AsUTF8String(lang) - elm_language_set(lang) + elm_language_set(lang) def cache_all_flush(): """cache_all_flush() @@ -436,7 +436,7 @@ def font_properties_get(font not None): if isinstance(font, unicode): font = PyUnicode_AsUTF8String(font) cdef FontProperties ret = FontProperties.__new__() - ret.efp = elm_font_properties_get(font) + ret.efp = elm_font_properties_get(font) return ret @@ -471,8 +471,8 @@ def font_fontconfig_name_get(font_name, style = None): if isinstance(font_name, unicode): font_name = PyUnicode_AsUTF8String(font_name) if isinstance(style, unicode): style = PyUnicode_AsUTF8String(style) fc_name = elm_font_fontconfig_name_get( - font_name, - style if style is not None else NULL + font_name, + style if style is not None else NULL ) ret = _touni(fc_name)