Browse Source

calculator: Adapt to latest Text_Cursor API

master
Xavi Artigas 2 years ago
parent
commit
df21c3770e
  1. 4
      apps/c/calculator/src/calculator.c

4
apps/c/calculator/src/calculator.c

@ -54,8 +54,8 @@ _button_pressed_cb(void *data, const Efl_Event *event EINA_UNUSED)
efl_text_set(_screen, "");
_must_overwrite = EINA_FALSE;
}
Efl_Text_Cursor *cursor = efl_text_interactive_main_cursor_get(_screen);
efl_text_cursor_text_insert(cursor, str);
Efl_Text_Cursor_Object *cursor = efl_text_interactive_main_cursor_get(_screen);
efl_text_cursor_object_text_insert(cursor, str);
}
else
{

Loading…
Cancel
Save