summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_evas_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_evas_map.c')
-rw-r--r--src/bin/elementary/test_evas_map.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/elementary/test_evas_map.c b/src/bin/elementary/test_evas_map.c
index b598044..3cabe96 100644
--- a/src/bin/elementary/test_evas_map.c
+++ b/src/bin/elementary/test_evas_map.c
@@ -1,6 +1,7 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4#include <Efl_Ui.h>
4#include <Elementary.h> 5#include <Elementary.h>
5 6
6static void 7static void
@@ -61,7 +62,8 @@ test_evas_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
61 snprintf(buf, sizeof(buf), "%s/images/rock_02.jpg", elm_app_data_dir_get()); 62 snprintf(buf, sizeof(buf), "%s/images/rock_02.jpg", elm_app_data_dir_get());
62 img = efl_add(EFL_UI_IMAGE_CLASS, win, 63 img = efl_add(EFL_UI_IMAGE_CLASS, win,
63 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(64, 64)), 64 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(64, 64)),
64 efl_file_set(efl_added, buf, NULL)); 65 efl_file_set(efl_added, buf),
66 efl_file_load(efl_added));
65 efl_gfx_image_scale_type_set(img, EFL_GFX_IMAGE_SCALE_TYPE_FILL); 67 efl_gfx_image_scale_type_set(img, EFL_GFX_IMAGE_SCALE_TYPE_FILL);
66 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE, 68 evas_object_event_callback_add(img, EVAS_CALLBACK_RESIZE,
67 _image_resize_cb, NULL); 69 _image_resize_cb, NULL);