summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-03-08 13:38:32 +0900
committerHermet Park <hermetpark@gmail.com>2019-03-08 13:38:32 +0900
commit5ecbc1bfea1109bf90e2d9663f1da34632f80d13 (patch)
tree5aeba538a131806d6a81a31f66d204bb6ff2e389
parentbe00af9bc3d534ede3965693618684fe38fd8786 (diff)
elementary: replace deprecated api usage with correct one.
-rw-r--r--src/examples/elementary/inwin_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/inwin_example.c b/src/examples/elementary/inwin_example.c
index 48b9820..76dbffa 100644
--- a/src/examples/elementary/inwin_example.c
+++ b/src/examples/elementary/inwin_example.c
@@ -134,7 +134,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
134 134
135 evas_object_smart_callback_add(o, "clicked", _btn_click_cb, NULL); 135 evas_object_smart_callback_add(o, "clicked", _btn_click_cb, NULL);
136 136
137 if (!strncmp(elm_config_engine_get(), "shot", 4)) 137 if (!strncmp(elm_config_preferred_engine_get(), "shot", 4))
138 ecore_timer_add(0.1, _screenshot_hack_cb, o); 138 ecore_timer_add(0.1, _screenshot_hack_cb, o);
139 139
140 evas_object_resize(win, 400, 400); 140 evas_object_resize(win, 400, 400);