elementary: replace deprecated api usage with correct one.
authorHermet Park <hermetpark@gmail.com>
Fri, 8 Mar 2019 04:38:32 +0000 (13:38 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 14 Mar 2019 05:46:29 +0000 (14:46 +0900)
src/examples/elementary/inwin_example.c

index 48b9820..76dbffa 100644 (file)
@@ -134,7 +134,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
 
    evas_object_smart_callback_add(o, "clicked", _btn_click_cb, NULL);
 
-   if (!strncmp(elm_config_engine_get(), "shot", 4))
+   if (!strncmp(elm_config_preferred_engine_get(), "shot", 4))
      ecore_timer_add(0.1, _screenshot_hack_cb, o);
 
    evas_object_resize(win, 400, 400);