summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_progressbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_ui_progressbar.c')
-rw-r--r--src/bin/elementary/test_ui_progressbar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_progressbar.c b/src/bin/elementary/test_ui_progressbar.c
index cbb2fdc..e851769 100644
--- a/src/bin/elementary/test_ui_progressbar.c
+++ b/src/bin/elementary/test_ui_progressbar.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
6typedef struct _pbdata 7typedef struct _pbdata
@@ -118,7 +119,7 @@ test_ui_progressbar(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, void *event_inf
118 pd = (pbdata *)calloc(1, sizeof(pbdata)); 119 pd = (pbdata *)calloc(1, sizeof(pbdata));
119 120
120 pd->win = win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 121 pd->win = win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
121 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC), 122 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
122 efl_text_set(efl_added, "Efl.Ui.Progressbar"), 123 efl_text_set(efl_added, "Efl.Ui.Progressbar"),
123 efl_ui_win_autodel_set(efl_added, EINA_TRUE), 124 efl_ui_win_autodel_set(efl_added, EINA_TRUE),
124 efl_event_callback_add(efl_added, EFL_UI_WIN_EVENT_DELETE_REQUEST, 125 efl_event_callback_add(efl_added, EFL_UI_WIN_EVENT_DELETE_REQUEST,
@@ -138,7 +139,8 @@ test_ui_progressbar(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, void *event_inf
138 139
139 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get()); 140 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
140 efl_add(EFL_UI_IMAGE_CLASS, pd->pb1, 141 efl_add(EFL_UI_IMAGE_CLASS, pd->pb1,
141 efl_file_set(efl_added, buf, NULL), 142 efl_file_set(efl_added, buf),
143 efl_file_load(efl_added),
142 efl_content_set(pd->pb1, efl_added) 144 efl_content_set(pd->pb1, efl_added)
143 ); 145 );
144 146