From 56c17d13247e003419ce6a7e095a881557b32e26 Mon Sep 17 00:00:00 2001 From: seoz Date: Mon, 25 Jul 2011 14:22:19 +0000 Subject: [PATCH] elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of elm_win_autodel_set() API. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@61695 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_3d.c | 2 +- src/bin/test_actionslider.c | 2 +- src/bin/test_anchorblock.c | 2 +- src/bin/test_anchorview.c | 2 +- src/bin/test_anim.c | 2 +- src/bin/test_bg.c | 6 +++--- src/bin/test_box.c | 8 ++++---- src/bin/test_bubble.c | 2 +- src/bin/test_button.c | 2 +- src/bin/test_calendar.c | 4 ++-- src/bin/test_check.c | 2 +- src/bin/test_clock.c | 4 ++-- src/bin/test_conform.c | 4 ++-- src/bin/test_cursor.c | 6 +++--- src/bin/test_diskselector.c | 2 +- src/bin/test_eio.c | 2 +- src/bin/test_entry.c | 10 +++++----- src/bin/test_fileselector.c | 2 +- src/bin/test_fileselector_button.c | 2 +- src/bin/test_fileselector_entry.c | 2 +- src/bin/test_flip.c | 8 ++++---- src/bin/test_flip_page.c | 2 +- src/bin/test_floating.c | 2 +- src/bin/test_focus2.c | 2 +- src/bin/test_gengrid.c | 4 ++-- src/bin/test_genlist.c | 22 +++++++++++----------- src/bin/test_genscroller.c | 2 +- src/bin/test_glview.c | 2 +- src/bin/test_glview_simple.c | 2 +- src/bin/test_grid.c | 2 +- src/bin/test_hover.c | 4 ++-- src/bin/test_hoversel.c | 2 +- src/bin/test_icon.c | 2 +- src/bin/test_icon_desktops.c | 2 +- src/bin/test_index.c | 4 ++-- src/bin/test_inwin.c | 4 ++-- src/bin/test_label.c | 2 +- src/bin/test_launcher.c | 6 +++--- src/bin/test_layout.c | 2 +- src/bin/test_list.c | 10 +++++----- src/bin/test_map.c | 2 +- src/bin/test_menu.c | 2 +- src/bin/test_multi.c | 2 +- src/bin/test_notify.c | 2 +- src/bin/test_pager.c | 4 ++-- src/bin/test_panel.c | 2 +- src/bin/test_panes.c | 2 +- src/bin/test_photo.c | 2 +- src/bin/test_photocam.c | 2 +- src/bin/test_radio.c | 2 +- src/bin/test_scaling.c | 4 ++-- src/bin/test_scroller.c | 4 ++-- src/bin/test_segment_control.c | 2 +- src/bin/test_separator.c | 2 +- src/bin/test_slider.c | 2 +- src/bin/test_slideshow.c | 2 +- src/bin/test_spinner.c | 2 +- src/bin/test_store.c | 2 +- src/bin/test_table.c | 12 ++++++------ src/bin/test_thumb.c | 2 +- src/bin/test_toggle.c | 2 +- src/bin/test_toolbar.c | 8 ++++---- src/bin/test_tooltip.c | 4 ++-- src/bin/test_weather.c | 2 +- src/bin/test_win_inline.c | 2 +- src/bin/test_win_state.c | 4 ++-- 66 files changed, 116 insertions(+), 116 deletions(-) diff --git a/src/bin/test_3d.c b/src/bin/test_3d.c index 0e54853..9f14de3 100644 --- a/src/bin/test_3d.c +++ b/src/bin/test_3d.c @@ -243,7 +243,7 @@ test_3d(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __U win = elm_win_add(NULL, "3d", ELM_WIN_BASIC); elm_win_title_set(win, "3D"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_actionslider.c b/src/bin/test_actionslider.c index 99f44ed..a132c79 100644 --- a/src/bin/test_actionslider.c +++ b/src/bin/test_actionslider.c @@ -35,7 +35,7 @@ test_actionslider(void *data __UNUSED__, Evas_Object * obj __UNUSED__, void *eve win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC); elm_win_title_set(win, "Actionslider"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_anchorblock.c b/src/bin/test_anchorblock.c index ea9abbf..8d4da86 100644 --- a/src/bin/test_anchorblock.c +++ b/src/bin/test_anchorblock.c @@ -119,7 +119,7 @@ test_anchorblock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event win = elm_win_add(NULL, "anchorblock", ELM_WIN_BASIC); elm_win_title_set(win, "Anchorblock"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_anchorview.c b/src/bin/test_anchorview.c index c752067..468c375 100644 --- a/src/bin/test_anchorview.c +++ b/src/bin/test_anchorview.c @@ -77,7 +77,7 @@ test_anchorview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ win = elm_win_add(NULL, "anchorview", ELM_WIN_BASIC); elm_win_title_set(win, "Anchorview"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_anim.c b/src/bin/test_anim.c index cf94d34..0eb6426 100644 --- a/src/bin/test_anim.c +++ b/src/bin/test_anim.c @@ -73,7 +73,7 @@ test_anim(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ win = elm_win_add(NULL, "animation", ELM_WIN_BASIC); elm_win_title_set(win, "Animation"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/rock_01.jpg", PACKAGE_DATA_DIR); diff --git a/src/bin/test_bg.c b/src/bin/test_bg.c index 630a6c0..ce45b9e 100644 --- a/src/bin/test_bg.c +++ b/src/bin/test_bg.c @@ -56,7 +56,7 @@ test_bg_plain(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "bg-plain", ELM_WIN_BASIC); elm_win_title_set(win, "Bg Plain"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); /* allow bg to expand in x & y */ @@ -87,7 +87,7 @@ test_bg_image(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "bg-image", ELM_WIN_BASIC); elm_win_title_set(win, "Bg Image"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", PACKAGE_DATA_DIR); @@ -112,7 +112,7 @@ test_bg_options(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ win = elm_win_add(NULL, "bg-options", ELM_WIN_BASIC); elm_win_title_set(win, "Bg Options"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_box.c b/src/bin/test_box.c index 289dae5..4dec0f5 100644 --- a/src/bin/test_box.c +++ b/src/bin/test_box.c @@ -11,7 +11,7 @@ test_box_vert(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "box-vert", ELM_WIN_BASIC); elm_win_title_set(win, "Box Vert"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -66,7 +66,7 @@ test_box_vert2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "box-vert2", ELM_WIN_BASIC); elm_win_title_set(win, "Box Vert 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -130,7 +130,7 @@ test_box_horiz(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "box-horiz", ELM_WIN_BASIC); elm_win_title_set(win, "Box Horiz"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -211,7 +211,7 @@ test_box_transition(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ev win = elm_win_add(NULL, "box-transition", ELM_WIN_BASIC); elm_win_title_set(win, "Box Transition"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_bubble.c b/src/bin/test_bubble.c index b104342..be13ebd 100644 --- a/src/bin/test_bubble.c +++ b/src/bin/test_bubble.c @@ -18,7 +18,7 @@ test_bubble(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "box-vert", ELM_WIN_BASIC); elm_win_title_set(win, "Bubble"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_button.c b/src/bin/test_button.c index 94fd46d..5fb3953 100644 --- a/src/bin/test_button.c +++ b/src/bin/test_button.c @@ -39,7 +39,7 @@ test_button(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "buttons", ELM_WIN_BASIC); elm_win_title_set(win, "Buttons"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_calendar.c b/src/bin/test_calendar.c index fdbe0e9..2e09d21 100644 --- a/src/bin/test_calendar.c +++ b/src/bin/test_calendar.c @@ -12,7 +12,7 @@ test_calendar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC); elm_win_title_set(win, "Calendar"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -87,7 +87,7 @@ test_calendar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "calendar2", ELM_WIN_BASIC); elm_win_title_set(win, "Calendar 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_check.c b/src/bin/test_check.c index e8f7fd3..9a28cd4 100644 --- a/src/bin/test_check.c +++ b/src/bin/test_check.c @@ -11,7 +11,7 @@ test_check(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "checks", ELM_WIN_BASIC); elm_win_title_set(win, "Checks"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_clock.c b/src/bin/test_clock.c index d2c9bba..e9ccb09 100644 --- a/src/bin/test_clock.c +++ b/src/bin/test_clock.c @@ -11,7 +11,7 @@ test_clock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "clock", ELM_WIN_BASIC); elm_win_title_set(win, "Clock"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -104,7 +104,7 @@ test_clock2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "clock2", ELM_WIN_BASIC); elm_win_title_set(win, "Clock 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_conform.c b/src/bin/test_conform.c index d6dba6c..fc2ef17 100644 --- a/src/bin/test_conform.c +++ b/src/bin/test_conform.c @@ -11,7 +11,7 @@ test_conformant(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC); elm_win_title_set(win, "Conformant"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); elm_win_conformant_set(win, 1); bg = elm_bg_add(win); @@ -100,7 +100,7 @@ test_conformant2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event win = elm_win_add(NULL, "conformant2", ELM_WIN_BASIC); elm_win_title_set(win, "Conformant 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); elm_win_conformant_set(win, 1); bg = elm_bg_add(win); diff --git a/src/bin/test_cursor.c b/src/bin/test_cursor.c index 96d950f..575fe62 100644 --- a/src/bin/test_cursor.c +++ b/src/bin/test_cursor.c @@ -101,7 +101,7 @@ test_cursor(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "cursor", ELM_WIN_BASIC); elm_win_title_set(win, "Cursor"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -185,7 +185,7 @@ test_cursor2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "cursor2", ELM_WIN_BASIC); elm_win_title_set(win, "Cursor 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -293,7 +293,7 @@ test_cursor3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "cursor3", ELM_WIN_BASIC); elm_win_title_set(win, "Cursor 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); snprintf(buf, sizeof(buf), "%s/objects/cursors.edj", PACKAGE_DATA_DIR); elm_theme_extension_add(NULL, buf); diff --git a/src/bin/test_diskselector.c b/src/bin/test_diskselector.c index bd7f7f6..b9c1a67 100644 --- a/src/bin/test_diskselector.c +++ b/src/bin/test_diskselector.c @@ -73,7 +73,7 @@ test_diskselector(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC); elm_win_title_set(win, "Disk Selector"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_eio.c b/src/bin/test_eio.c index 3124b05..27aa9fc 100644 --- a/src/bin/test_eio.c +++ b/src/bin/test_eio.c @@ -127,7 +127,7 @@ test_eio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __ win = elm_win_add(NULL, "fileselector-button", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector Button"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_entry.c b/src/bin/test_entry.c index 61682f1..3fa00a4 100644 --- a/src/bin/test_entry.c +++ b/src/bin/test_entry.c @@ -82,7 +82,7 @@ test_entry(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "entry", ELM_WIN_BASIC); elm_win_title_set(win, "Entry"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -281,7 +281,7 @@ test_entry_scrolled(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *ev win = elm_win_add(NULL, "entry-scrolled", ELM_WIN_BASIC); elm_win_title_set(win, "Entry Scrolled"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -721,7 +721,7 @@ test_entry3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "entry3", ELM_WIN_BASIC); elm_win_title_set(win, "Entry 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1284,7 +1284,7 @@ test_entry4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "entry4", ELM_WIN_BASIC); elm_win_title_set(win, "Entry 4"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1352,7 +1352,7 @@ test_entry5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "entry5", ELM_WIN_BASIC); elm_win_title_set(win, "Entry 5"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_fileselector.c b/src/bin/test_fileselector.c index 2057fc5..e9ae85e 100644 --- a/src/bin/test_fileselector.c +++ b/src/bin/test_fileselector.c @@ -120,7 +120,7 @@ test_fileselector(void *data __UNUSED__, win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_fileselector_button.c b/src/bin/test_fileselector_button.c index 5850dae..88ae5fa 100644 --- a/src/bin/test_fileselector_button.c +++ b/src/bin/test_fileselector_button.c @@ -74,7 +74,7 @@ test_fileselector_button(void *data __UNUSED__, win = elm_win_add(NULL, "fileselector-button", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector Button"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_fileselector_entry.c b/src/bin/test_fileselector_entry.c index 46214c0..330d63e 100644 --- a/src/bin/test_fileselector_entry.c +++ b/src/bin/test_fileselector_entry.c @@ -79,7 +79,7 @@ test_fileselector_entry(void *data __UNUSED__, win = elm_win_add(NULL, "fileselector-entry", ELM_WIN_BASIC); elm_win_title_set(win, "File Selector Entry"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_flip.c b/src/bin/test_flip.c index a6497fd..df55618 100644 --- a/src/bin/test_flip.c +++ b/src/bin/test_flip.c @@ -69,7 +69,7 @@ test_flip(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ win = elm_win_add(NULL, "flip", ELM_WIN_BASIC); elm_win_title_set(win, "Flip"); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -211,7 +211,7 @@ test_flip2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "flip2", ELM_WIN_BASIC); elm_win_title_set(win, "Flip 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/%s", PACKAGE_DATA_DIR, "sky_01.jpg"); @@ -381,7 +381,7 @@ test_flip3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "flip3", ELM_WIN_BASIC); elm_win_title_set(win, "Flip Flip"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -519,7 +519,7 @@ test_flip4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "flip4", ELM_WIN_BASIC); elm_win_title_set(win, "Flip Interactive"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_flip_page.c b/src/bin/test_flip_page.c index 52f0744..b309685 100644 --- a/src/bin/test_flip_page.c +++ b/src/bin/test_flip_page.c @@ -845,7 +845,7 @@ test_flip_page(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "flip_page", ELM_WIN_BASIC); elm_win_title_set(win, "Flip Page"); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_floating.c b/src/bin/test_floating.c index 407fe5e..5fd47fd 100644 --- a/src/bin/test_floating.c +++ b/src/bin/test_floating.c @@ -71,7 +71,7 @@ test_floating(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "floating", ELM_WIN_BASIC); elm_win_title_set(win, "Floating"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_focus2.c b/src/bin/test_focus2.c index 9a3532d..b8f5ff7 100644 --- a/src/bin/test_focus2.c +++ b/src/bin/test_focus2.c @@ -52,7 +52,7 @@ test_focus2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "focus2", ELM_WIN_BASIC); elm_win_title_set(win, "Focus2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); evas_event_callback_add diff --git a/src/bin/test_gengrid.c b/src/bin/test_gengrid.c index 6f846e0..0ab23ab 100644 --- a/src/bin/test_gengrid.c +++ b/src/bin/test_gengrid.c @@ -157,7 +157,7 @@ test_gengrid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC); elm_win_title_set(win, "GenGrid"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -286,7 +286,7 @@ test_gengrid2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "gengrid2", ELM_WIN_BASIC); elm_win_title_set(win, "GenGrid2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index 43130b7..d784b56 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -108,7 +108,7 @@ test_genlist(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -348,7 +348,7 @@ test_genlist2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist2", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", PACKAGE_DATA_DIR); @@ -575,7 +575,7 @@ test_genlist3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist3", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -709,7 +709,7 @@ test_genlist4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist4", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 4"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -930,7 +930,7 @@ test_genlist5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist5", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 5"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1115,7 +1115,7 @@ test_genlist6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist-tree", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist Tree"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1264,7 +1264,7 @@ test_genlist7(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist7", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist 7"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); info.win = win; bg = elm_bg_add(win); @@ -1352,7 +1352,7 @@ test_genlist8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist-group", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist Group"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1563,7 +1563,7 @@ test_genlist9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "genlist-group-tree", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist Group Tree"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1704,7 +1704,7 @@ test_genlist10(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "genlist10", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist Mode"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -1820,7 +1820,7 @@ test_genlist11(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "genlist-reorder-mode", ELM_WIN_BASIC); elm_win_title_set(win, "Genlist Reorder Mode"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_genscroller.c b/src/bin/test_genscroller.c index e71bb0d..f63168f 100644 --- a/src/bin/test_genscroller.c +++ b/src/bin/test_genscroller.c @@ -11,7 +11,7 @@ test_genscroller(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event win = elm_win_add(NULL, "genscroller", ELM_WIN_BASIC); elm_win_title_set(win, "Genscroller"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_glview.c b/src/bin/test_glview.c index a432578..47c4e8f 100644 --- a/src/bin/test_glview.c +++ b/src/bin/test_glview.c @@ -574,7 +574,7 @@ test_glview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info // new window - do the usual and give it a name, title and delete handler win = elm_win_add(NULL, "glview", ELM_WIN_BASIC); elm_win_title_set(win, "GLView"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); // add a standard bg diff --git a/src/bin/test_glview_simple.c b/src/bin/test_glview_simple.c index 216ded5..f8e5864 100644 --- a/src/bin/test_glview_simple.c +++ b/src/bin/test_glview_simple.c @@ -241,7 +241,7 @@ test_glview_simple(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve win = elm_win_add(NULL, "glview simple", ELM_WIN_BASIC); elm_win_title_set(win, "GLView Simple"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_grid.c b/src/bin/test_grid.c index b7a7474..c1f838b 100644 --- a/src/bin/test_grid.c +++ b/src/bin/test_grid.c @@ -19,7 +19,7 @@ test_grid(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ win = elm_win_add(NULL, "grid", ELM_WIN_BASIC); elm_win_title_set(win, "Grid"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_hover.c b/src/bin/test_hover.c index 09131bd..20919e8 100644 --- a/src/bin/test_hover.c +++ b/src/bin/test_hover.c @@ -17,7 +17,7 @@ test_hover(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "hover", ELM_WIN_BASIC); elm_win_title_set(win, "Hover"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -98,7 +98,7 @@ test_hover2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "hover2", ELM_WIN_BASIC); elm_win_title_set(win, "Hover 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c index 2ed3f50..1a04881 100644 --- a/src/bin/test_hoversel.c +++ b/src/bin/test_hoversel.c @@ -11,7 +11,7 @@ test_hoversel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC); elm_win_title_set(win, "Hoversel"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_icon.c b/src/bin/test_icon.c index af1d952..ccbf30c 100644 --- a/src/bin/test_icon.c +++ b/src/bin/test_icon.c @@ -17,7 +17,7 @@ test_icon(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ win = elm_win_add(NULL, "icon-transparent", ELM_WIN_BASIC); elm_win_title_set(win, "Icon Transparent"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); elm_win_alpha_set(win, 1); ic = elm_icon_add(win); diff --git a/src/bin/test_icon_desktops.c b/src/bin/test_icon_desktops.c index f48b412..3a35081 100644 --- a/src/bin/test_icon_desktops.c +++ b/src/bin/test_icon_desktops.c @@ -66,7 +66,7 @@ test_icon_desktops(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve win = elm_win_add(NULL, "icon-desktops", ELM_WIN_BASIC); elm_win_title_set(win, "Icon Desktops"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_index.c b/src/bin/test_index.c index a0dfc9e..a7a938b 100644 --- a/src/bin/test_index.c +++ b/src/bin/test_index.c @@ -46,7 +46,7 @@ test_index(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "index", ELM_WIN_BASIC); elm_win_title_set(win, "Index"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -203,7 +203,7 @@ test_index2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "sorted-index-list", ELM_WIN_BASIC); elm_win_title_set(win, "Sorted Index and List"); evas_object_smart_callback_add(win, "delete-request", test_index2_del, gui); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_inwin.c b/src/bin/test_inwin.c index 926f5b2..eb7f0de 100644 --- a/src/bin/test_inwin.c +++ b/src/bin/test_inwin.c @@ -10,7 +10,7 @@ test_inwin(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC); elm_win_title_set(win, "Inwin"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -41,7 +41,7 @@ test_inwin2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "inwin2", ELM_WIN_BASIC); elm_win_title_set(win, "Inwin 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_label.c b/src/bin/test_label.c index 1323da7..8da2982 100644 --- a/src/bin/test_label.c +++ b/src/bin/test_label.c @@ -11,7 +11,7 @@ test_label(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "label", ELM_WIN_BASIC); elm_win_title_set(win, "Label"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_launcher.c b/src/bin/test_launcher.c index 3eb6254..661f5c4 100644 --- a/src/bin/test_launcher.c +++ b/src/bin/test_launcher.c @@ -203,7 +203,7 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "launcher", ELM_WIN_BASIC); elm_win_title_set(win, "Launcher"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/sky_04.jpg", PACKAGE_DATA_DIR); @@ -386,7 +386,7 @@ test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "launcher2", ELM_WIN_BASIC); elm_win_title_set(win, "Launcher 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/sky_03.jpg", PACKAGE_DATA_DIR); @@ -734,7 +734,7 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "launcher", ELM_WIN_BASIC); elm_win_title_set(win, "Launcher"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/sky_04.jpg", PACKAGE_DATA_DIR); diff --git a/src/bin/test_layout.c b/src/bin/test_layout.c index e83da07..51beb44 100644 --- a/src/bin/test_layout.c +++ b/src/bin/test_layout.c @@ -19,7 +19,7 @@ test_layout(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "layout", ELM_WIN_BASIC); elm_win_title_set(win, "Layout"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_list.c b/src/bin/test_list.c index 0d84879..68e40f9 100644 --- a/src/bin/test_list.c +++ b/src/bin/test_list.c @@ -54,7 +54,7 @@ test_list(void *data __UNUSED__, win = elm_win_add(NULL, "list", ELM_WIN_BASIC); elm_win_title_set(win, "List"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -349,7 +349,7 @@ test_list2(void *data __UNUSED__, win = elm_win_add(NULL, "list2", ELM_WIN_BASIC); elm_win_title_set(win, "List 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", PACKAGE_DATA_DIR); @@ -479,7 +479,7 @@ test_list3(void *data __UNUSED__, win = elm_win_add(NULL, "list3", ELM_WIN_BASIC); elm_win_title_set(win, "List 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -642,7 +642,7 @@ test_list4(void *data __UNUSED__, win = elm_win_add(NULL, "list4", ELM_WIN_BASIC); elm_win_title_set(win, "List 4"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); info.win = win; bg = elm_bg_add(win); @@ -772,7 +772,7 @@ test_list5(void *data __UNUSED__, win = elm_win_add(NULL, "list5", ELM_WIN_BASIC); elm_win_title_set(win, "List 5"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); info.win = win; bg = elm_bg_add(win); diff --git a/src/bin/test_map.c b/src/bin/test_map.c index 9567c42..f85a12a 100644 --- a/src/bin/test_map.c +++ b/src/bin/test_map.c @@ -716,7 +716,7 @@ test_map(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __ win = elm_win_add(NULL, "map", ELM_WIN_BASIC); elm_win_title_set(win, "Map"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_menu.c b/src/bin/test_menu.c index 474e1a8..2c7dcf8 100644 --- a/src/bin/test_menu.c +++ b/src/bin/test_menu.c @@ -86,7 +86,7 @@ test_menu(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info _ win = elm_win_add(NULL, "menu", ELM_WIN_BASIC); elm_win_title_set(win, "Menu"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_multi.c b/src/bin/test_multi.c index 8c38bbd..cb6134d 100644 --- a/src/bin/test_multi.c +++ b/src/bin/test_multi.c @@ -84,7 +84,7 @@ test_multi(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "bg-plain", ELM_WIN_BASIC); elm_win_title_set(win, "Bg Plain"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_notify.c b/src/bin/test_notify.c index 7cf50e3..37fffe3 100644 --- a/src/bin/test_notify.c +++ b/src/bin/test_notify.c @@ -44,7 +44,7 @@ test_notify(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "notify", ELM_WIN_BASIC); elm_win_title_set(win, "Notify"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_pager.c b/src/bin/test_pager.c index a858456..93a3957 100644 --- a/src/bin/test_pager.c +++ b/src/bin/test_pager.c @@ -77,7 +77,7 @@ test_pager(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "pager", ELM_WIN_BASIC); elm_win_title_set(win, "Pager"); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); info.win = win; bg = elm_bg_add(win); @@ -281,7 +281,7 @@ test_pager_slide(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event win = elm_win_add(NULL, "pager", ELM_WIN_BASIC); elm_win_title_set(win, "Pager Slide"); elm_win_focus_highlight_enabled_set(win, EINA_TRUE); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); info.win = win; bg = elm_bg_add(win); diff --git a/src/bin/test_panel.c b/src/bin/test_panel.c index 8869bed..3092fc9 100644 --- a/src/bin/test_panel.c +++ b/src/bin/test_panel.c @@ -155,7 +155,7 @@ test_panel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "panel", ELM_WIN_BASIC); elm_win_title_set(win, "Panel"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_panes.c b/src/bin/test_panes.c index 69c4788..8160d4a 100644 --- a/src/bin/test_panes.c +++ b/src/bin/test_panes.c @@ -46,7 +46,7 @@ test_panes(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "panes", ELM_WIN_BASIC); elm_win_title_set(win, "Panes"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_photo.c b/src/bin/test_photo.c index f50a520..4068923 100644 --- a/src/bin/test_photo.c +++ b/src/bin/test_photo.c @@ -29,7 +29,7 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "photo", ELM_WIN_BASIC); elm_win_title_set(win, "Photo"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_photocam.c b/src/bin/test_photocam.c index 4548d1b..7c41c52 100644 --- a/src/bin/test_photocam.c +++ b/src/bin/test_photocam.c @@ -223,7 +223,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "photocam", ELM_WIN_BASIC); elm_win_title_set(win, "Photocam"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_radio.c b/src/bin/test_radio.c index eedea32..6bc67f8 100644 --- a/src/bin/test_radio.c +++ b/src/bin/test_radio.c @@ -11,7 +11,7 @@ test_radio(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "radios", ELM_WIN_BASIC); elm_win_title_set(win, "Radios"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_scaling.c b/src/bin/test_scaling.c index 7469108..6a33c83 100644 --- a/src/bin/test_scaling.c +++ b/src/bin/test_scaling.c @@ -10,7 +10,7 @@ test_scaling(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "scaling", ELM_WIN_BASIC); elm_win_title_set(win, "Scaling"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -69,7 +69,7 @@ test_scaling2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "scaling2", ELM_WIN_BASIC); elm_win_title_set(win, "Scaling 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_scroller.c b/src/bin/test_scroller.c index 7a9ac06..099bed3 100644 --- a/src/bin/test_scroller.c +++ b/src/bin/test_scroller.c @@ -48,7 +48,7 @@ test_scroller(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "scroller", ELM_WIN_BASIC); elm_win_title_set(win, "Scroller"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -143,7 +143,7 @@ test_scroller2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "scroller2", ELM_WIN_BASIC); elm_win_title_set(win, "Scroller 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_segment_control.c b/src/bin/test_segment_control.c index 4a45fb8..8dff678 100644 --- a/src/bin/test_segment_control.c +++ b/src/bin/test_segment_control.c @@ -22,7 +22,7 @@ test_segment_control(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *e win = elm_win_add(NULL, "segmentcontrol", ELM_WIN_BASIC); elm_win_title_set(win, "Segment Control"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_separator.c b/src/bin/test_separator.c index 4b43ccd..9fb5008 100644 --- a/src/bin/test_separator.c +++ b/src/bin/test_separator.c @@ -10,7 +10,7 @@ test_separator(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "separators", ELM_WIN_BASIC); elm_win_title_set(win, "Separators"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_slider.c b/src/bin/test_slider.c index 47e5780..edaa206 100644 --- a/src/bin/test_slider.c +++ b/src/bin/test_slider.c @@ -19,7 +19,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "slider", ELM_WIN_BASIC); elm_win_title_set(win, "Slider"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_slideshow.c b/src/bin/test_slideshow.c index a7bb777..b351dc1 100644 --- a/src/bin/test_slideshow.c +++ b/src/bin/test_slideshow.c @@ -110,7 +110,7 @@ test_slideshow(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i win = elm_win_add(NULL, "slideshow", ELM_WIN_BASIC); elm_win_title_set(win, "Slideshow"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_spinner.c b/src/bin/test_spinner.c index 39027ed..8633d1a 100644 --- a/src/bin/test_spinner.c +++ b/src/bin/test_spinner.c @@ -10,7 +10,7 @@ test_spinner(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "spinner", ELM_WIN_BASIC); elm_win_title_set(win, "Spinner"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_store.c b/src/bin/test_store.c index 2ee9662..7e26ac4 100644 --- a/src/bin/test_store.c +++ b/src/bin/test_store.c @@ -231,7 +231,7 @@ test_store(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "store", ELM_WIN_BASIC); elm_win_title_set(win, "Store"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_table.c b/src/bin/test_table.c index c36e5f7..47f8bf3 100644 --- a/src/bin/test_table.c +++ b/src/bin/test_table.c @@ -10,7 +10,7 @@ test_table(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table", ELM_WIN_BASIC); elm_win_title_set(win, "Table"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -74,7 +74,7 @@ test_table2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table2", ELM_WIN_BASIC); elm_win_title_set(win, "Table Homogeneous"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -150,7 +150,7 @@ test_table3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table3", ELM_WIN_BASIC); elm_win_title_set(win, "Table 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -200,7 +200,7 @@ test_table4(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table4", ELM_WIN_BASIC); elm_win_title_set(win, "Table 4"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -250,7 +250,7 @@ test_table5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table5", ELM_WIN_BASIC); elm_win_title_set(win, "Table 5"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -308,7 +308,7 @@ test_table6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "table6", ELM_WIN_BASIC); elm_win_title_set(win, "Table 6"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_thumb.c b/src/bin/test_thumb.c index 811c464..85ae530 100644 --- a/src/bin/test_thumb.c +++ b/src/bin/test_thumb.c @@ -28,7 +28,7 @@ test_thumb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "thumb", ELM_WIN_BASIC); elm_win_title_set(win, "Thumb"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_toggle.c b/src/bin/test_toggle.c index a296acb..250e455 100644 --- a/src/bin/test_toggle.c +++ b/src/bin/test_toggle.c @@ -11,7 +11,7 @@ test_toggle(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info win = elm_win_add(NULL, "toggles", ELM_WIN_BASIC); elm_win_title_set(win, "Toggles"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_toolbar.c b/src/bin/test_toolbar.c index 386f509..185b284 100644 --- a/src/bin/test_toolbar.c +++ b/src/bin/test_toolbar.c @@ -72,7 +72,7 @@ test_toolbar(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "toolbar", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -182,7 +182,7 @@ test_toolbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "toolbar2", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -292,7 +292,7 @@ test_toolbar3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "toolbar3", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 3"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -513,7 +513,7 @@ test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in win = elm_win_add(NULL, "toolbar5", ELM_WIN_BASIC); elm_win_title_set(win, "Toolbar 5"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); diff --git a/src/bin/test_tooltip.c b/src/bin/test_tooltip.c index f937c06..be71cd3 100644 --- a/src/bin/test_tooltip.c +++ b/src/bin/test_tooltip.c @@ -318,7 +318,7 @@ test_tooltip(void *data __UNUSED__, win = elm_win_add(NULL, "tooltip", ELM_WIN_BASIC); elm_win_title_set(win, "Tooltip"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -469,7 +469,7 @@ test_tooltip2(void *data __UNUSED__, win = elm_win_add(NULL, "tooltip2", ELM_WIN_BASIC); elm_win_title_set(win, "Tooltip 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, diff --git a/src/bin/test_weather.c b/src/bin/test_weather.c index e1cadd3..795c417 100644 --- a/src/bin/test_weather.c +++ b/src/bin/test_weather.c @@ -67,7 +67,7 @@ test_weather(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf win = elm_win_add(NULL, "weather", ELM_WIN_BASIC); elm_win_title_set(win, "Weather"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/src/bin/test_win_inline.c b/src/bin/test_win_inline.c index ac60633..c584ad6 100644 --- a/src/bin/test_win_inline.c +++ b/src/bin/test_win_inline.c @@ -209,7 +209,7 @@ test_win_inline(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ win = elm_win_add(NULL, "window-inline", ELM_WIN_BASIC); elm_win_title_set(win, "Window Inline"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/plant_01.jpg", PACKAGE_DATA_DIR); diff --git a/src/bin/test_win_state.c b/src/bin/test_win_state.c index a64f7dc..478e453 100644 --- a/src/bin/test_win_state.c +++ b/src/bin/test_win_state.c @@ -121,7 +121,7 @@ test_win_state(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize, NULL); evas_event_callback_add(evas_object_evas_get(win), EVAS_CALLBACK_CANVAS_FOCUS_IN, _win_foc_in, NULL); evas_event_callback_add(evas_object_evas_get(win), EVAS_CALLBACK_CANVAS_FOCUS_OUT, _win_foc_out, NULL); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); elm_win_resize_object_add(win, bg); @@ -245,7 +245,7 @@ test_win_state2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ evas_object_smart_callback_add(win, "moved", my_win_move, NULL); evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, _win_resize, NULL); elm_win_title_set(win, "Window States 2"); - elm_win_autodel_set(win, 1); + elm_win_autodel_set(win, EINA_TRUE); bg = elm_bg_add(win); snprintf(buf, sizeof(buf), "%s/images/sky_02.jpg", PACKAGE_DATA_DIR); -- 2.7.4