diff --git a/legacy/elementary/src/bin/config.c b/legacy/elementary/src/bin/config.c index 853c365e3f..a29efd3a0a 100644 --- a/legacy/elementary/src/bin/config.c +++ b/legacy/elementary/src/bin/config.c @@ -2,7 +2,6 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH typedef struct _Theme Theme; typedef struct _Fonts_Data Fonts_Data; @@ -3671,7 +3670,5 @@ elm_main(int argc, /* exit code */ return 0; } - -#endif /* All elementary apps should use this. Put it right after elm_main() */ ELM_MAIN() diff --git a/legacy/elementary/src/bin/test.c b/legacy/elementary/src/bin/test.c index 4a8f472282..4a123752f3 100755 --- a/legacy/elementary/src/bin/test.c +++ b/legacy/elementary/src/bin/test.c @@ -5,7 +5,6 @@ #include #include #include "test.h" -#ifndef ELM_LIB_QUICKLAUNCH int _log_domain = -1; @@ -912,7 +911,6 @@ elm_main(int argc, char **argv) /* exit code */ return 0; } -#endif /* all elementary apps should use this. but it should be placed right after * elm_main() */ ELM_MAIN() diff --git a/legacy/elementary/src/bin/test_3d.c b/legacy/elementary/src/bin/test_3d.c index a663564862..b3b2e6e348 100644 --- a/legacy/elementary/src/bin/test_3d.c +++ b/legacy/elementary/src/bin/test_3d.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _Point { @@ -338,4 +338,3 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E _cube_update(win, cube); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_access.c b/legacy/elementary/src/bin/test_access.c index b0753ad594..aecaa63b5d 100644 --- a/legacy/elementary/src/bin/test_access.c +++ b/legacy/elementary/src/bin/test_access.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #if 0 static void @@ -403,4 +403,3 @@ test_access3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i } #endif -#endif diff --git a/legacy/elementary/src/bin/test_actionslider.c b/legacy/elementary/src/bin/test_actionslider.c index 8dd52fac2b..ac9c7658a6 100644 --- a/legacy/elementary/src/bin/test_actionslider.c +++ b/legacy/elementary/src/bin/test_actionslider.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _pos_selected_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info) { @@ -209,4 +209,3 @@ test_actionslider(void *data EINA_UNUSED, Evas_Object * obj EINA_UNUSED, void *e evas_object_resize(win, 320, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_anim.c b/legacy/elementary/src/bin/test_anim.c index 801fef4390..4c5d8dceec 100644 --- a/legacy/elementary/src/bin/test_anim.c +++ b/legacy/elementary/src/bin/test_anim.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static const char *names[] = { @@ -110,4 +110,3 @@ test_anim(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _del, win); } -#endif diff --git a/legacy/elementary/src/bin/test_application_server.c b/legacy/elementary/src/bin/test_application_server.c index edb290078c..0ec13f644d 100644 --- a/legacy/elementary/src/bin/test_application_server.c +++ b/legacy/elementary/src/bin/test_application_server.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct { Evas_Object *win, *label; @@ -208,4 +208,3 @@ test_application_server_message(void *data EINA_UNUSED, msg_server = test_application_server_common( "org.enlightenment.message"); eo_do(msg_server, eo_event_callback_add(EO_EV_DEL, _server_del_cb, &msg_server)); } -#endif diff --git a/legacy/elementary/src/bin/test_bg.c b/legacy/elementary/src/bin/test_bg.c index 897230dde8..1b80b64909 100644 --- a/legacy/elementary/src/bin/test_bg.c +++ b/legacy/elementary/src/bin/test_bg.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED) @@ -270,4 +270,3 @@ test_bg_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_box.c b/legacy/elementary/src/bin/test_box.c index d67b84df98..42cbca3e66 100644 --- a/legacy/elementary/src/bin/test_box.c +++ b/legacy/elementary/src/bin/test_box.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define ICON_MAX 24 typedef enum @@ -702,4 +702,3 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void * elm_box_layout_set(bx, evas_object_box_layout_horizontal, NULL, NULL); _test_box_transition_change(tdata); } -#endif diff --git a/legacy/elementary/src/bin/test_bubble.c b/legacy/elementary/src/bin/test_bubble.c index f382568cf5..c9b49d1193 100644 --- a/legacy/elementary/src/bin/test_bubble.c +++ b/legacy/elementary/src/bin/test_bubble.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -173,4 +173,3 @@ test_bubble(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_button.c b/legacy/elementary/src/bin/test_button.c index 0fd7828c28..2672214d85 100644 --- a/legacy/elementary/src/bin/test_button.c +++ b/legacy/elementary/src/bin/test_button.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _bt_repeated(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) { @@ -195,4 +195,3 @@ test_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_calendar.c b/legacy/elementary/src/bin/test_calendar.c index 3bd82cf1a6..2b7c289247 100644 --- a/legacy/elementary/src/bin/test_calendar.c +++ b/legacy/elementary/src/bin/test_calendar.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -361,4 +361,3 @@ test_calendar3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_check.c b/legacy/elementary/src/bin/test_check.c index 0fcaef7b34..bb140f321a 100644 --- a/legacy/elementary/src/bin/test_check.c +++ b/legacy/elementary/src/bin/test_check.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Eina_Bool eb; @@ -190,4 +190,3 @@ test_check_toggle(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_clock.c b/legacy/elementary/src/bin/test_clock.c index b6adcb7e05..51c661fc69 100644 --- a/legacy/elementary/src/bin/test_clock.c +++ b/legacy/elementary/src/bin/test_clock.c @@ -3,7 +3,7 @@ #include "test.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -318,4 +318,3 @@ test_clock3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_cnp.c b/legacy/elementary/src/bin/test_cnp.c index e114966bc9..d0b8fc34d6 100644 --- a/legacy/elementary/src/bin/test_cnp.c +++ b/legacy/elementary/src/bin/test_cnp.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Evas_Object *glb; @@ -102,4 +102,3 @@ test_cnp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info evas_object_resize(win, 480, 200); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_colorselector.c b/legacy/elementary/src/bin/test_colorselector.c index c927f72450..6fb4d6edb8 100644 --- a/legacy/elementary/src/bin/test_colorselector.c +++ b/legacy/elementary/src/bin/test_colorselector.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _colorselector_changed_cb(void *data, Evas_Object *obj, @@ -203,4 +203,3 @@ test_colorselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_config.c b/legacy/elementary/src/bin/test_config.c index cc6e40c3e3..f73b2857fa 100644 --- a/legacy/elementary/src/bin/test_config.c +++ b/legacy/elementary/src/bin/test_config.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #ifdef MAX_PROFILES # undef MAX_PROFILES @@ -533,4 +533,3 @@ test_config(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUS evas_object_resize(win, 400, 500); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_conform.c b/legacy/elementary/src/bin/test_conform.c index ffe0195c18..6335ade9db 100644 --- a/legacy/elementary/src/bin/test_conform.c +++ b/legacy/elementary/src/bin/test_conform.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void test_conformant(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED) @@ -195,4 +195,3 @@ test_conformant2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_conform_indicator.c b/legacy/elementary/src/bin/test_conform_indicator.c index e50d15c1e1..d1fa0c1ebf 100644 --- a/legacy/elementary/src/bin/test_conform_indicator.c +++ b/legacy/elementary/src/bin/test_conform_indicator.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static int vis = 0; static int rotate_with_resize = 0; @@ -384,4 +384,3 @@ test_conformant_indicator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_ctxpopup.c b/legacy/elementary/src/bin/test_ctxpopup.c index 3e36bb3c84..f5164697c0 100644 --- a/legacy/elementary/src/bin/test_ctxpopup.c +++ b/legacy/elementary/src/bin/test_ctxpopup.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void @@ -348,4 +348,3 @@ test_ctxpopup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_cursor.c b/legacy/elementary/src/bin/test_cursor.c index bf0002b61a..0e60a68fe5 100644 --- a/legacy/elementary/src/bin/test_cursor.c +++ b/legacy/elementary/src/bin/test_cursor.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + // XXX: show all type of cursors in the elementary_test. this needs to be the first test @@ -447,4 +447,3 @@ test_cursor4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_datetime.c b/legacy/elementary/src/bin/test_datetime.c index a2fbdb89b3..cc3684016a 100644 --- a/legacy/elementary/src/bin/test_datetime.c +++ b/legacy/elementary/src/bin/test_datetime.c @@ -2,7 +2,7 @@ #include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + /* A simple test, just displaying datetime in its default format */ @@ -73,4 +73,3 @@ test_datetime(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_dayselector.c b/legacy/elementary/src/bin/test_dayselector.c index 9a7d1dcf8f..12416e37a9 100644 --- a/legacy/elementary/src/bin/test_dayselector.c +++ b/legacy/elementary/src/bin/test_dayselector.c @@ -2,7 +2,7 @@ #include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _changed_cb(void* data EINA_UNUSED, Evas_Object* obj, void* event_info) { @@ -125,4 +125,3 @@ test_dayselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_diskselector.c b/legacy/elementary/src/bin/test_diskselector.c index aef30ceffc..5ef494ccbc 100644 --- a/legacy/elementary/src/bin/test_diskselector.c +++ b/legacy/elementary/src/bin/test_diskselector.c @@ -4,7 +4,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -356,4 +356,3 @@ test_diskselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_eio.c b/legacy/elementary/src/bin/test_eio.c index 973ce66df0..3d1a2f4c63 100644 --- a/legacy/elementary/src/bin/test_eio.c +++ b/legacy/elementary/src/bin/test_eio.c @@ -17,7 +17,7 @@ #include #include -#ifndef ELM_LIB_QUICKLAUNCH + static Elm_Genlist_Item_Class it_eio; @@ -245,4 +245,3 @@ test_eio(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_entry.c b/legacy/elementary/src/bin/test_entry.c index 9a7d36a421..e1b8e0edf9 100644 --- a/legacy/elementary/src/bin/test_entry.c +++ b/legacy/elementary/src/bin/test_entry.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void my_entry_bt_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -2340,4 +2340,3 @@ test_entry_emoticon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, elm_object_focus_set(en, EINA_TRUE); } -#endif diff --git a/legacy/elementary/src/bin/test_entry_anchor.c b/legacy/elementary/src/bin/test_entry_anchor.c index c8aa244163..7d0aee5d14 100644 --- a/legacy/elementary/src/bin/test_entry_anchor.c +++ b/legacy/elementary/src/bin/test_entry_anchor.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -236,4 +236,3 @@ test_entry_anchor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev elm_object_focus_set(win, EINA_TRUE); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_entry_anchor2.c b/legacy/elementary/src/bin/test_entry_anchor2.c index f83b29984d..465f822b56 100644 --- a/legacy/elementary/src/bin/test_entry_anchor2.c +++ b/legacy/elementary/src/bin/test_entry_anchor2.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void my_entry_anchor_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -108,4 +108,3 @@ test_entry_anchor2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_external.c b/legacy/elementary/src/bin/test_external.c index 2ce8114f1c..4bbfeea600 100644 --- a/legacy/elementary/src/bin/test_external.c +++ b/legacy/elementary/src/bin/test_external.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void @@ -184,4 +184,3 @@ test_external_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void * } -#endif diff --git a/legacy/elementary/src/bin/test_factory.c b/legacy/elementary/src/bin/test_factory.c index 453e38cd92..be7b91d664 100644 --- a/legacy/elementary/src/bin/test_factory.c +++ b/legacy/elementary/src/bin/test_factory.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + // 16 ^ 4 = 65k #define BLOK 16 @@ -180,4 +180,3 @@ test_factory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_fileselector.c b/legacy/elementary/src/bin/test_fileselector.c index c1f504419b..eb76236b07 100644 --- a/legacy/elementary/src/bin/test_fileselector.c +++ b/legacy/elementary/src/bin/test_fileselector.c @@ -14,7 +14,7 @@ #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void my_fileselector_done(void *data, Evas_Object *obj EINA_UNUSED, @@ -397,4 +397,3 @@ test_fileselector(void *data EINA_UNUSED, elm_box_pack_end(vbox, _mode_option_create(vbox, fs)); } -#endif diff --git a/legacy/elementary/src/bin/test_fileselector_button.c b/legacy/elementary/src/bin/test_fileselector_button.c index 952bf64e0c..9ee5fc91ef 100644 --- a/legacy/elementary/src/bin/test_fileselector_button.c +++ b/legacy/elementary/src/bin/test_fileselector_button.c @@ -4,7 +4,7 @@ #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -244,4 +244,3 @@ test_fileselector_button(void *data EINA_UNUSED, evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_fileselector_entry.c b/legacy/elementary/src/bin/test_fileselector_entry.c index 58160b835d..94ee87d2d1 100644 --- a/legacy/elementary/src/bin/test_fileselector_entry.c +++ b/legacy/elementary/src/bin/test_fileselector_entry.c @@ -4,7 +4,7 @@ #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -258,4 +258,3 @@ test_fileselector_entry(void *data EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_flip.c b/legacy/elementary/src/bin/test_flip.c index c9e9f3a64d..f6aca729d2 100644 --- a/legacy/elementary/src/bin/test_flip.c +++ b/legacy/elementary/src/bin/test_flip.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void my_fl_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -698,4 +698,3 @@ test_flip5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_flip_page.c b/legacy/elementary/src/bin/test_flip_page.c index 236ff067d9..945bcd89c9 100644 --- a/legacy/elementary/src/bin/test_flip_page.c +++ b/legacy/elementary/src/bin/test_flip_page.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _State State; typedef struct _Slice Slice; @@ -912,4 +912,3 @@ test_flip_page(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_resize(win, 480, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_flipselector.c b/legacy/elementary/src/bin/test_flipselector.c index ca93b9c4e0..cd793e9f2e 100644 --- a/legacy/elementary/src/bin/test_flipselector.c +++ b/legacy/elementary/src/bin/test_flipselector.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void _sel_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info) @@ -187,4 +187,3 @@ test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_floating.c b/legacy/elementary/src/bin/test_floating.c index 432afe7eb6..86569b8a77 100644 --- a/legacy/elementary/src/bin/test_floating.c +++ b/legacy/elementary/src/bin/test_floating.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _Testitem { Elm_Object_Item *item; @@ -100,4 +100,3 @@ test_floating(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ ani = ecore_animator_add(anim, gl); evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _del, ani); } -#endif diff --git a/legacy/elementary/src/bin/test_focus.c b/legacy/elementary/src/bin/test_focus.c index 78ab8ab99f..6e925c5730 100644 --- a/legacy/elementary/src/bin/test_focus.c +++ b/legacy/elementary/src/bin/test_focus.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Eina_Bool _event(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *src EINA_UNUSED, Evas_Callback_Type type, void *event_info) @@ -410,4 +410,3 @@ test_focus(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf } } } -#endif diff --git a/legacy/elementary/src/bin/test_focus2.c b/legacy/elementary/src/bin/test_focus2.c index 115d65dd9c..202c591224 100644 --- a/legacy/elementary/src/bin/test_focus2.c +++ b/legacy/elementary/src/bin/test_focus2.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _focus_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info) @@ -148,4 +148,3 @@ test_focus2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_focus3.c b/legacy/elementary/src/bin/test_focus3.c index 7b18a9f545..5556746eb7 100644 --- a/legacy/elementary/src/bin/test_focus3.c +++ b/legacy/elementary/src/bin/test_focus3.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Evas_Object *foc = NULL; @@ -455,4 +455,3 @@ test_focus_custom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev elm_box_pack_end(bx2, bt); evas_object_show(bt); } -#endif diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c index f6f64ec095..cfe0e78db2 100644 --- a/legacy/elementary/src/bin/test_gengrid.c +++ b/legacy/elementary/src/bin/test_gengrid.c @@ -4,7 +4,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WEIGHT evas_object_size_hint_weight_set #define ALIGN_ evas_object_size_hint_align_set @@ -1228,4 +1228,3 @@ test_gengrid4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ elm_box_pack_end(bx, bt); evas_object_show(bt); } -#endif diff --git a/legacy/elementary/src/bin/test_genlist.c b/legacy/elementary/src/bin/test_genlist.c index 9a556e8a9d..7ec1849988 100644 --- a/legacy/elementary/src/bin/test_genlist.c +++ b/legacy/elementary/src/bin/test_genlist.c @@ -4,7 +4,7 @@ #include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WEIGHT evas_object_size_hint_weight_set #define ALIGN_ evas_object_size_hint_align_set @@ -3502,4 +3502,3 @@ test_genlist_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_data_set(list, "genlist", gl); } -#endif diff --git a/legacy/elementary/src/bin/test_gesture_layer.c b/legacy/elementary/src/bin/test_gesture_layer.c index 25aa7296d9..c42e5903f3 100644 --- a/legacy/elementary/src/bin/test_gesture_layer.c +++ b/legacy/elementary/src/bin/test_gesture_layer.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + /* We zoom out to this value so we'll be able to use map and have a nice * resolution when zooming in. */ @@ -402,5 +402,4 @@ test_gesture_layer(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_gesture_layer2.c b/legacy/elementary/src/bin/test_gesture_layer2.c index 856275c6b8..b3b0d569b1 100644 --- a/legacy/elementary/src/bin/test_gesture_layer2.c +++ b/legacy/elementary/src/bin/test_gesture_layer2.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define TAP_NAME "tap" #define DOUBLE_TAP_NAME "double_tap" @@ -812,4 +812,3 @@ test_gesture_layer2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_gesture_layer3.c b/legacy/elementary/src/bin/test_gesture_layer3.c index 72b9bb206a..57ef9307df 100644 --- a/legacy/elementary/src/bin/test_gesture_layer3.c +++ b/legacy/elementary/src/bin/test_gesture_layer3.c @@ -2,7 +2,7 @@ #include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + /* We zoom out to this value so we'll be able to use map and have a nice * resolution when zooming in. */ @@ -586,4 +586,3 @@ test_gesture_layer3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, photo_array); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_glview.c b/legacy/elementary/src/bin/test_glview.c index f9e01f8111..2fd21bfa91 100644 --- a/legacy/elementary/src/bin/test_glview.c +++ b/legacy/elementary/src/bin/test_glview.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #include #ifndef M_PI @@ -683,4 +683,3 @@ test_glview(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_glview_simple.c b/legacy/elementary/src/bin/test_glview_simple.c index 2db4a35502..324e68a79f 100644 --- a/legacy/elementary/src/bin/test_glview_simple.c +++ b/legacy/elementary/src/bin/test_glview_simple.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _GLData GLData; @@ -276,4 +276,3 @@ test_glview_simple(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_grid.c b/legacy/elementary/src/bin/test_grid.c index 4e3d9f6fb8..fc34ded8ed 100644 --- a/legacy/elementary/src/bin/test_grid.c +++ b/legacy/elementary/src/bin/test_grid.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _Api_Data { Evas_Object *grid; @@ -187,4 +187,3 @@ test_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info evas_object_resize(win, 480, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_hover.c b/legacy/elementary/src/bin/test_hover.c index 876f61b170..4edc81dfeb 100644 --- a/legacy/elementary/src/bin/test_hover.c +++ b/legacy/elementary/src/bin/test_hover.c @@ -1,6 +1,6 @@ #include "elementary_config.h" #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, @@ -247,4 +247,3 @@ test_hover3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_smart_callback_add(bt, "clicked", _dismiss_hover, hv); } -#endif diff --git a/legacy/elementary/src/bin/test_hoversel.c b/legacy/elementary/src/bin/test_hoversel.c index d2350958f9..117d11295d 100644 --- a/legacy/elementary/src/bin/test_hoversel.c +++ b/legacy/elementary/src/bin/test_hoversel.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -251,4 +251,3 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_icon.c b/legacy/elementary/src/bin/test_icon.c index d692977d69..5e3df43c29 100644 --- a/legacy/elementary/src/bin/test_icon.c +++ b/legacy/elementary/src/bin/test_icon.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) @@ -152,4 +152,3 @@ test_icon_transparent(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_icon_animated.c b/legacy/elementary/src/bin/test_icon_animated.c index fcb8bb262b..8ad1a53c91 100644 --- a/legacy/elementary/src/bin/test_icon_animated.c +++ b/legacy/elementary/src/bin/test_icon_animated.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _icon_clicked_cb(void *data , Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -54,4 +54,3 @@ test_icon_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e evas_object_smart_callback_add(ic, "clicked", _icon_clicked_cb, ic); } -#endif diff --git a/legacy/elementary/src/bin/test_icon_desktops.c b/legacy/elementary/src/bin/test_icon_desktops.c index 9efe61f847..6ab9511162 100644 --- a/legacy/elementary/src/bin/test_icon_desktops.c +++ b/legacy/elementary/src/bin/test_icon_desktops.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Elm_Genlist_Item_Class *it_desk = NULL; static char * @@ -104,4 +104,3 @@ test_icon_desktops(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_image.c b/legacy/elementary/src/bin/test_image.c index 37875ab914..7d17c8f391 100644 --- a/legacy/elementary/src/bin/test_image.c +++ b/legacy/elementary/src/bin/test_image.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static const struct { Elm_Image_Orient orient; @@ -196,4 +196,3 @@ test_click_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_index.c b/legacy/elementary/src/bin/test_index.c index 62430a5514..70a2d11c92 100644 --- a/legacy/elementary/src/bin/test_index.c +++ b/legacy/elementary/src/bin/test_index.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _Idx_Data_Type { Evas_Object *id; /* Pointer to Index */ @@ -469,4 +469,3 @@ test_index_horizontal(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_inwin.c b/legacy/elementary/src/bin/test_inwin.c index 40e907bcde..9dae4c091d 100644 --- a/legacy/elementary/src/bin/test_inwin.c +++ b/legacy/elementary/src/bin/test_inwin.c @@ -3,7 +3,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -127,4 +127,3 @@ test_inwin2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 320, 240); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_label.c b/legacy/elementary/src/bin/test_label.c index 41cb8253d5..4933b969d7 100644 --- a/legacy/elementary/src/bin/test_label.c +++ b/legacy/elementary/src/bin/test_label.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + enum _slide_style { @@ -217,4 +217,3 @@ test_label2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 320, 320); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_launcher.c b/legacy/elementary/src/bin/test_launcher.c index ff40273ab8..9d871720e1 100644 --- a/legacy/elementary/src/bin/test_launcher.c +++ b/legacy/elementary/src/bin/test_launcher.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -920,4 +920,3 @@ test_launcher3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_resize(win, 480, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_layout.c b/legacy/elementary/src/bin/test_layout.c index 5f1f8ba6a1..4204bf5066 100644 --- a/legacy/elementary/src/bin/test_layout.c +++ b/legacy/elementary/src/bin/test_layout.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #include struct _api_data @@ -265,4 +265,3 @@ test_layout2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_resize(win, 320, 320); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_list.c b/legacy/elementary/src/bin/test_list.c index fa73ce238d..89d4a926a3 100644 --- a/legacy/elementary/src/bin/test_list.c +++ b/legacy/elementary/src/bin/test_list.c @@ -4,7 +4,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + struct _api_data { unsigned int state; /* What state we are testing */ @@ -1491,4 +1491,3 @@ test_list_separator(void *data EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_main_menu.c b/legacy/elementary/src/bin/test_main_menu.c index 21806105a6..e21f4cb5af 100644 --- a/legacy/elementary/src/bin/test_main_menu.c +++ b/legacy/elementary/src/bin/test_main_menu.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _click_me(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, @@ -74,4 +74,3 @@ test_main_menu(void *data EINA_UNUSED, elm_menu_item_add(menu, menu_it1, NULL, "first item", NULL, NULL); } -#endif diff --git a/legacy/elementary/src/bin/test_map.c b/legacy/elementary/src/bin/test_map.c index c519297f22..dce7037d9a 100644 --- a/legacy/elementary/src/bin/test_map.c +++ b/legacy/elementary/src/bin/test_map.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define SOURCE_MAX 10 #define MARKER_MAX 1000 @@ -1186,4 +1186,3 @@ test_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info evas_object_resize(win, 800, 800); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_menu.c b/legacy/elementary/src/bin/test_menu.c index 9f9fb10cbb..bade0d83a1 100644 --- a/legacy/elementary/src/bin/test_menu.c +++ b/legacy/elementary/src/bin/test_menu.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _menu_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, @@ -310,4 +310,3 @@ test_menu2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_show(bt); } -#endif diff --git a/legacy/elementary/src/bin/test_multi.c b/legacy/elementary/src/bin/test_multi.c index fe09bb97cb..4a51b04419 100644 --- a/legacy/elementary/src/bin/test_multi.c +++ b/legacy/elementary/src/bin/test_multi.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define IND_NUM 20 @@ -132,4 +132,3 @@ test_multi(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_multibuttonentry.c b/legacy/elementary/src/bin/test_multibuttonentry.c index b3b42386b3..d55f96a610 100644 --- a/legacy/elementary/src/bin/test_multibuttonentry.c +++ b/legacy/elementary/src/bin/test_multibuttonentry.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _item_selected_cb(void *data EINA_UNUSED, @@ -223,4 +223,3 @@ test_multibuttonentry(void *data EINA_UNUSED, evas_object_show(win); elm_object_focus_set(sc, EINA_TRUE); } -#endif diff --git a/legacy/elementary/src/bin/test_naviframe.c b/legacy/elementary/src/bin/test_naviframe.c index 33fb207e57..9571d81008 100644 --- a/legacy/elementary/src/bin/test_naviframe.c +++ b/legacy/elementary/src/bin/test_naviframe.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define BUTTON_TEXT_SET(BT, TEXT) \ elm_object_text_set((BT), (TEXT)); \ @@ -270,4 +270,3 @@ test_naviframe2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_naviframe_complex.c b/legacy/elementary/src/bin/test_naviframe_complex.c index e535f6f13f..f682999511 100644 --- a/legacy/elementary/src/bin/test_naviframe_complex.c +++ b/legacy/elementary/src/bin/test_naviframe_complex.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WEIGHT evas_object_size_hint_weight_set #define ALIGN_ evas_object_size_hint_align_set @@ -362,4 +362,3 @@ test_naviframe_complex(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, voi evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_notify.c b/legacy/elementary/src/bin/test_notify.c index ef49174f9d..ea56910b71 100644 --- a/legacy/elementary/src/bin/test_notify.c +++ b/legacy/elementary/src/bin/test_notify.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -434,4 +434,3 @@ test_notify(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_resize(win, 400, 400); } -#endif diff --git a/legacy/elementary/src/bin/test_panel.c b/legacy/elementary/src/bin/test_panel.c index ecb8b1cdd7..dd984ae994 100644 --- a/legacy/elementary/src/bin/test_panel.c +++ b/legacy/elementary/src/bin/test_panel.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define LIST_ITEM_MAX 20 @@ -268,4 +268,3 @@ test_panel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf } -#endif diff --git a/legacy/elementary/src/bin/test_panes.c b/legacy/elementary/src/bin/test_panes.c index 24e8bf82d4..a2fa155f6c 100644 --- a/legacy/elementary/src/bin/test_panes.c +++ b/legacy/elementary/src/bin/test_panes.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -109,4 +109,3 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c index d1394af413..6d65d70a1c 100644 --- a/legacy/elementary/src/bin/test_photo.c +++ b/legacy/elementary/src/bin/test_photo.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, @@ -101,4 +101,3 @@ test_photo(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf } /* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/ -#endif diff --git a/legacy/elementary/src/bin/test_photocam.c b/legacy/elementary/src/bin/test_photocam.c index 12e87592f1..d687e611b4 100644 --- a/legacy/elementary/src/bin/test_photocam.c +++ b/legacy/elementary/src/bin/test_photocam.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Evas_Object *rect; @@ -534,4 +534,3 @@ test_photocam_remote(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void evas_object_resize(win, 800, 800); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_popup.c b/legacy/elementary/src/bin/test_popup.c index 918ad5bfef..74a439aa53 100644 --- a/legacy/elementary/src/bin/test_popup.c +++ b/legacy/elementary/src/bin/test_popup.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static Evas_Object *g_popup = NULL; static int times = 0; @@ -564,4 +564,3 @@ test_popup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, evas_object_show(list); } -#endif diff --git a/legacy/elementary/src/bin/test_prefs.c b/legacy/elementary/src/bin/test_prefs.c index 23e90add09..794f40c972 100644 --- a/legacy/elementary/src/bin/test_prefs.c +++ b/legacy/elementary/src/bin/test_prefs.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WIDTH (500) #define HEIGHT (1000) @@ -118,4 +118,3 @@ test_prefs(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, elm_prefs_data_unref(prefs_data); } -#endif diff --git a/legacy/elementary/src/bin/test_progressbar.c b/legacy/elementary/src/bin/test_progressbar.c index 131ad311c0..1b38223e54 100644 --- a/legacy/elementary/src/bin/test_progressbar.c +++ b/legacy/elementary/src/bin/test_progressbar.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct Progressbar_Data { Evas_Object *pb1; @@ -397,4 +397,3 @@ test_progressbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even evas_object_show(bt); pd->btn_stop = bt; } -#endif diff --git a/legacy/elementary/src/bin/test_radio.c b/legacy/elementary/src/bin/test_radio.c index 13c6513f58..92ed9556c6 100644 --- a/legacy/elementary/src/bin/test_radio.c +++ b/legacy/elementary/src/bin/test_radio.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _rd_changed_cb(void *data EINA_UNUSED, Evas_Object *obj, @@ -104,4 +104,3 @@ test_radio(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, elm_radio_value_set(rdg, 2); } -#endif diff --git a/legacy/elementary/src/bin/test_scaling.c b/legacy/elementary/src/bin/test_scaling.c index c2c90291e3..d0d0f3c0f3 100644 --- a/legacy/elementary/src/bin/test_scaling.c +++ b/legacy/elementary/src/bin/test_scaling.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void test_scaling(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -117,4 +117,3 @@ test_scaling2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_resize(win, 320, 320); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_scroller.c b/legacy/elementary/src/bin/test_scroller.c index 3eddf427ee..de738797cd 100644 --- a/legacy/elementary/src/bin/test_scroller.c +++ b/legacy/elementary/src/bin/test_scroller.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void my_bt_go_300_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -421,4 +421,3 @@ test_scroller2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_segment_control.c b/legacy/elementary/src/bin/test_segment_control.c index 0f6e925412..80e1a0edb7 100644 --- a/legacy/elementary/src/bin/test_segment_control.c +++ b/legacy/elementary/src/bin/test_segment_control.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void changed_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event) @@ -155,4 +155,3 @@ test_segment_control(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void evas_object_resize(win, 400, 300); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_separator.c b/legacy/elementary/src/bin/test_separator.c index 3f6662372b..00d9985c42 100644 --- a/legacy/elementary/src/bin/test_separator.c +++ b/legacy/elementary/src/bin/test_separator.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void test_separator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -65,4 +65,3 @@ test_separator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_slider.c b/legacy/elementary/src/bin/test_slider.c index a4b13986d3..f641379a19 100644 --- a/legacy/elementary/src/bin/test_slider.c +++ b/legacy/elementary/src/bin/test_slider.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void _delay_change_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED) @@ -295,4 +295,3 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_show(bt); elm_box_pack_end(bx2, bt); } -#endif diff --git a/legacy/elementary/src/bin/test_slideshow.c b/legacy/elementary/src/bin/test_slideshow.c index e2829f3b9b..6c88ea3125 100644 --- a/legacy/elementary/src/bin/test_slideshow.c +++ b/legacy/elementary/src/bin/test_slideshow.c @@ -1,6 +1,6 @@ #include "elementary_config.h" #include -#ifndef ELM_LIB_QUICKLAUNCH + static Evas_Object *slideshow, *bt_start, *bt_stop; static Elm_Slideshow_Item_Class itc; @@ -215,4 +215,3 @@ test_slideshow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_spinner.c b/legacy/elementary/src/bin/test_spinner.c index d1b5dad5b8..35baaa8356 100644 --- a/legacy/elementary/src/bin/test_spinner.c +++ b/legacy/elementary/src/bin/test_spinner.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _spinner_drag_start_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, @@ -112,4 +112,3 @@ test_spinner(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_resize(win, 300, 300); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_store.c b/legacy/elementary/src/bin/test_store.c index db41745deb..1a7563f8dd 100644 --- a/legacy/elementary/src/bin/test_store.c +++ b/legacy/elementary/src/bin/test_store.c @@ -10,7 +10,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _My_Item My_Item; @@ -268,4 +268,3 @@ test_store(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_resize(win, 480, 800); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_sys_notify.c b/legacy/elementary/src/bin/test_sys_notify.c index b0ef24b69d..47609ca170 100644 --- a/legacy/elementary/src/bin/test_sys_notify.c +++ b/legacy/elementary/src/bin/test_sys_notify.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WIDTH 320 #define HEIGHT 160 @@ -117,4 +117,3 @@ test_sys_notify(void *data EINA_UNUSED, evas_object_resize(win, WIDTH, HEIGHT); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_systray.c b/legacy/elementary/src/bin/test_systray.c index fe4b6a438c..cb0608cbe3 100644 --- a/legacy/elementary/src/bin/test_systray.c +++ b/legacy/elementary/src/bin/test_systray.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define WIDTH 320 #define HEIGHT 160 @@ -191,4 +191,3 @@ test_systray(void *data EINA_UNUSED, evas_object_resize(win, WIDTH, HEIGHT); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_table.c b/legacy/elementary/src/bin/test_table.c index 91c84158aa..7e480f818a 100644 --- a/legacy/elementary/src/bin/test_table.c +++ b/legacy/elementary/src/bin/test_table.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void test_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -389,4 +389,3 @@ test_table7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_task_switcher.c b/legacy/elementary/src/bin/test_task_switcher.c index 7cb9084939..a2158d8ca6 100644 --- a/legacy/elementary/src/bin/test_task_switcher.c +++ b/legacy/elementary/src/bin/test_task_switcher.c @@ -3,7 +3,7 @@ #endif #include #include -#ifndef ELM_LIB_QUICKLAUNCH + #define APPS_COL 0 #define VIEWS_COL 1 @@ -405,4 +405,3 @@ test_task_switcher(void *data EINA_UNUSED, evas_object_show(win); evas_object_resize(win, 1024, 768); } -#endif diff --git a/legacy/elementary/src/bin/test_thumb.c b/legacy/elementary/src/bin/test_thumb.c index c14a9a87d0..9d4a33ed28 100644 --- a/legacy/elementary/src/bin/test_thumb.c +++ b/legacy/elementary/src/bin/test_thumb.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + void test_thumb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -61,4 +61,3 @@ test_thumb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_resize(win, 600, 600); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_toolbar.c b/legacy/elementary/src/bin/test_toolbar.c index da4c1f3d60..b6fc3805a3 100644 --- a/legacy/elementary/src/bin/test_toolbar.c +++ b/legacy/elementary/src/bin/test_toolbar.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _tb_sel1_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { @@ -1047,4 +1047,3 @@ test_toolbar9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_resize(win, 420, 250); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_tooltip.c b/legacy/elementary/src/bin/test_tooltip.c index ca547cc5f5..241f04f783 100644 --- a/legacy/elementary/src/bin/test_tooltip.c +++ b/legacy/elementary/src/bin/test_tooltip.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _Testitem { @@ -600,4 +600,3 @@ test_tooltip2(void *data EINA_UNUSED, evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_transit.c b/legacy/elementary/src/bin/test_transit.c index 6cfc55dbdc..e691473497 100644 --- a/legacy/elementary/src/bin/test_transit.c +++ b/legacy/elementary/src/bin/test_transit.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _Custom_Effect Custom_Effect; @@ -555,4 +555,3 @@ test_transit9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_video.c b/legacy/elementary/src/bin/test_video.c index 83688fb73b..3fe1e62869 100644 --- a/legacy/elementary/src/bin/test_video.c +++ b/legacy/elementary/src/bin/test_video.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) @@ -57,4 +57,3 @@ test_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf evas_object_resize(win, 800, 500); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_weather.c b/legacy/elementary/src/bin/test_weather.c index df9d7514a4..786b45231c 100644 --- a/legacy/elementary/src/bin/test_weather.c +++ b/legacy/elementary/src/bin/test_weather.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #ifdef HAVE_ELEMENTARY_EWEATHER # include "EWeather_Smart.h" @@ -170,4 +170,3 @@ test_weather(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i evas_object_resize(win, 244, 388); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_web.c b/legacy/elementary/src/bin/test_web.c index 371ca22f26..16478b4fdb 100644 --- a/legacy/elementary/src/bin/test_web.c +++ b/legacy/elementary/src/bin/test_web.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct { @@ -497,4 +497,3 @@ test_web_mobile(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even { test_web(data, obj, event_info, EINA_TRUE); } -#endif diff --git a/legacy/elementary/src/bin/test_win_inline.c b/legacy/elementary/src/bin/test_win_inline.c index 8063c479ab..caf8a9d6d2 100644 --- a/legacy/elementary/src/bin/test_win_inline.c +++ b/legacy/elementary/src/bin/test_win_inline.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void fill(Evas_Object *win, Eina_Bool do_bg) @@ -253,4 +253,3 @@ test_win_inline(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even evas_object_resize(win, 400, 400); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_win_plug.c b/legacy/elementary/src/bin/test_win_plug.c index a03152e6d3..f2ccce5918 100644 --- a/legacy/elementary/src/bin/test_win_plug.c +++ b/legacy/elementary/src/bin/test_win_plug.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + #define MAX_TRY 40 @@ -181,4 +181,3 @@ test_win_plug(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_ evas_object_resize(win, 400, 600); evas_object_show(win); } -#endif diff --git a/legacy/elementary/src/bin/test_win_socket.c b/legacy/elementary/src/bin/test_win_socket.c index 22b1ba55cd..378f5e8445 100644 --- a/legacy/elementary/src/bin/test_win_socket.c +++ b/legacy/elementary/src/bin/test_win_socket.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + static void _win_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) @@ -201,4 +201,3 @@ test_win_socket(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _win_del, win_socket); } -#endif diff --git a/legacy/elementary/src/bin/test_win_state.c b/legacy/elementary/src/bin/test_win_state.c index 64ec7d842e..79228ee32f 100644 --- a/legacy/elementary/src/bin/test_win_state.c +++ b/legacy/elementary/src/bin/test_win_state.c @@ -2,7 +2,7 @@ # include "elementary_config.h" #endif #include -#ifndef ELM_LIB_QUICKLAUNCH + typedef struct _Testitem { Elm_Object_Item *item; @@ -452,4 +452,3 @@ test_win_state2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even evas_object_resize(win, 320, 480); evas_object_show(win); } -#endif