summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_evas_snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_evas_snapshot.c')
-rw-r--r--src/bin/elementary/test_evas_snapshot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index c1b110e..855c33a 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.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
6#define TABLE_SIZE 10 7#define TABLE_SIZE 10
@@ -29,7 +30,8 @@ static inline Eo *
29_image_create(Eo *win, const char *path) 30_image_create(Eo *win, const char *path)
30{ 31{
31 return efl_add(EFL_UI_IMAGE_CLASS, win, 32 return efl_add(EFL_UI_IMAGE_CLASS, win,
32 efl_file_set(efl_added, path, NULL), 33 efl_file_set(efl_added, path),
34 efl_file_load(efl_added),
33 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(20, 20))); 35 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(20, 20)));
34} 36}
35 37