From f328bfddb2c89d4a79329e8ce9fe28a24e8bea45 Mon Sep 17 00:00:00 2001 From: seoz Date: Tue, 13 Mar 2012 12:04:32 +0000 Subject: [PATCH] elm test.c: Changed information text wrapping. Changed internal function name to be distinguished by other elementary API names. Signed-off-by: Daniel Juyung Seo git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/bin/test.c b/src/bin/test.c index 018723a..8d6bd19 100644 --- a/src/bin/test.c +++ b/src/bin/test.c @@ -199,7 +199,7 @@ elm_test_sort(const void *pa, const void *pb) } static void -elm_test_add(Eina_List **p_list, const char *icon, const char *category, const char *name, void (*cb)(void *, Evas_Object *, void *)) +_elm_test_add(Eina_List **p_list, const char *icon, const char *category, const char *name, void (*cb)(void *, Evas_Object *, void *)) { struct elm_test *t = malloc(sizeof(struct elm_test)); t->icon = icon; @@ -299,9 +299,8 @@ my_win_main(char *autorun, Eina_Bool test_win_only) lb = elm_label_add(win); elm_object_text_set(lb, - "Please select a test from the list below
" - "by clicking the test button to show the
" - "test window."); + "Please select a test from the list below by clicking
" + "the test button to show the test window."); elm_object_content_set(fr, lb); evas_object_show(lb); @@ -328,7 +327,7 @@ my_win_main(char *autorun, Eina_Bool test_win_only) add_tests: tests = NULL; -#define ADD_TEST(icon_, cat_, name_, cb_) elm_test_add(&tests, icon_, cat_, name_, cb_) +#define ADD_TEST(icon_, cat_, name_, cb_) _elm_test_add(&tests, icon_, cat_, name_, cb_) //------------------------------// ADD_TEST(NULL, "Window / Background", "Bg Plain", test_bg_plain); -- 2.7.4