From 4558f86f9e14cde2ff74b0a8f75f2807735e1f5e Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Sat, 13 Aug 2011 16:36:44 +0000 Subject: [PATCH] elm: Refactoring before I commit another patch. 1. Fixed indentation. 2. Removed trailing whitespaces. 3. Removed unnecessary blank lines. SVN revision: 62424 --- src/bin/test_icon_animated.c | 1 - src/lib/Elementary.h.in | 8 ++++---- src/lib/elm_win.c | 8 ++++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/bin/test_icon_animated.c b/src/bin/test_icon_animated.c index 91faeed..6da7bb9 100644 --- a/src/bin/test_icon_animated.c +++ b/src/bin/test_icon_animated.c @@ -13,7 +13,6 @@ icon_clicked(void *data , Evas_Object *obj __UNUSED__, void *event_info __UNUSED rec = !rec; printf("clicked!rec =%d\n",rec); elm_icon_animated_play_set(ic, rec); - } void diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 6015701..e4d9bf3 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -4789,10 +4789,10 @@ extern "C" { * @param anim @c EINA_TRUE if the object do animation job, * @c EINA_FALSE otherwise. Default is @c EINA_FALSE. * - * Even though elm icon's file can be animated, + * Even though elm icon's file can be animated, * sometimes appication developer want to just first page of image. * In that time, don't call this function, because default value is EINA_FALSE - * Only when you want icon support anition, + * Only when you want icon support anition, * use this function and set animated to EINA_TURE * @ingroup Icon */ @@ -4812,13 +4812,13 @@ extern "C" { * @param obj The icon object * @param play @c EINA_TRUE the object play animation images, * @c EINA_FALSE otherwise. Default is @c EINA_FALSE. - * + * * If you want to play elm icon's animation, you set play to EINA_TURE. * For example, you make gif player using this set/get API and click event. * * 1. Click event occurs * 2. Check play flag using elm_icon_animaged_play_get - * 3. If elm icon was playing, set play to EINA_FALSE. + * 3. If elm icon was playing, set play to EINA_FALSE. * Then animation will be stopped and vice versa * @ingroup Icon */ diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 652f2d2..3164354 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1517,7 +1517,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type) evas_object_pass_events_set(win->win_obj, EINA_TRUE); if (type == ELM_WIN_INLINED_IMAGE) - elm_widget_parent2_set(win->win_obj, parent); + elm_widget_parent2_set(win->win_obj, parent); ecore_evas_object_associate(win->ee, win->win_obj, ECORE_EVAS_OBJECT_ASSOCIATE_BASE | ECORE_EVAS_OBJECT_ASSOCIATE_STACK | @@ -1533,8 +1533,8 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type) evas_object_event_callback_add(win->win_obj, EVAS_CALLBACK_RESIZE, _elm_win_obj_callback_resize, win); if (win->img_obj) - evas_object_intercept_move_callback_add(win->win_obj, - _elm_win_obj_intercept_move, win); + evas_object_intercept_move_callback_add(win->win_obj, + _elm_win_obj_intercept_move, win); evas_object_intercept_show_callback_add(win->win_obj, _elm_win_obj_intercept_show, win); @@ -1547,7 +1547,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type) evas_image_cache_set(win->evas, (_elm_config->image_cache * 1024)); evas_font_cache_set(win->evas, (_elm_config->font_cache * 1024)); EINA_LIST_FOREACH(_elm_config->font_dirs, l, fontpath) - evas_font_path_append(win->evas, fontpath); + evas_font_path_append(win->evas, fontpath); if (!_elm_config->font_hinting) evas_font_hinting_set(win->evas, EVAS_FONT_HINTING_NONE); else if (_elm_config->font_hinting == 1) -- 2.7.4