From b79524d2e0a877f44fa2a347954172c0bbc13343 Mon Sep 17 00:00:00 2001 From: seoz Date: Fri, 2 Sep 2011 04:09:17 +0000 Subject: [PATCH] elm: Removed all trailing whitespaces. Why they are added even I'm removing them arbitrarily. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63083 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_factory.c | 26 +++++++++++++------------- src/bin/test_hoversel.c | 2 +- src/lib/Elementary.h.in | 4 ++-- src/lib/elc_ctxpopup.c | 6 +++--- src/lib/elm_factory.c | 8 ++++---- src/lib/els_box.c | 2 +- src/lib/els_scroller.c | 4 ++-- 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/bin/test_factory.c b/src/bin/test_factory.c index d513579..9675e29 100644 --- a/src/bin/test_factory.c +++ b/src/bin/test_factory.c @@ -29,13 +29,13 @@ fac_realize_end(void *data, Evas_Object *obj, void *event_info __UNUSED__) bx = elm_box_add(win); printf(" ADD lv 3 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num"))); -#ifdef HOMOG +#ifdef HOMOG elm_box_homogeneous_set(bx, EINA_TRUE); #endif -#ifdef ZEROALIGN +#ifdef ZEROALIGN elm_box_align_set(bx, 0.0, 0.0); #endif - + for (i = 0; i < BLOK; i++) { char buf[32]; @@ -64,13 +64,13 @@ fac_realize2(void *data, Evas_Object *obj, void *event_info __UNUSED__) bx = elm_box_add(win); printf(" ADD lv 2 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num"))); -#ifdef HOMOG +#ifdef HOMOG elm_box_homogeneous_set(bx, EINA_TRUE); #endif -#ifdef ZEROALIGN +#ifdef ZEROALIGN elm_box_align_set(bx, 0.0, 0.0); #endif - + for (i = 0; i < BLOK; i++) { fc = elm_factory_add(win); @@ -102,13 +102,13 @@ fac_realize1(void *data, Evas_Object *obj, void *event_info __UNUSED__) bx = elm_box_add(win); printf(" ADD lv 1 = %p [%i]\n", bx, (BLOK * (int)evas_object_data_get(obj, "num"))); -#ifdef HOMOG +#ifdef HOMOG elm_box_homogeneous_set(bx, EINA_TRUE); #endif -#ifdef ZEROALIGN +#ifdef ZEROALIGN elm_box_align_set(bx, 0.0, 0.0); #endif - + for (i = 0; i < BLOK; i++) { fc = elm_factory_add(win); @@ -147,12 +147,12 @@ test_factory(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf evas_object_show(bg); bx = elm_box_add(win); -#ifdef HOMOG +#ifdef HOMOG elm_box_homogeneous_set(bx, EINA_TRUE); -#endif -#ifdef ZEROALIGN +#endif +#ifdef ZEROALIGN elm_box_align_set(bx, 0.0, 0.0); -#endif +#endif evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0); for (i = 0; i < BLOK; i++) diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c index 4ead10b..e91121d 100644 --- a/src/bin/test_hoversel.c +++ b/src/bin/test_hoversel.c @@ -24,7 +24,7 @@ test_hoversel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in evas_object_show(bx); bt = elm_hoversel_add(win); -// FIXME: need to add horizontal hoversel theme to default some day +// FIXME: need to add horizontal hoversel theme to default some day // elm_hoversel_horizontal_set(bt, 1); elm_hoversel_hover_parent_set(bt, win); elm_object_text_set(bt, "Labels"); diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 131e6da..ab3d3b1 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -1424,7 +1424,7 @@ extern "C" { * Last show feature of password mode enables user to view * the last input entered for few seconds before masking it. * These functions allow to set this feature in password mode - * of entry widget and also allow to manipulate the duration + * of entry widget and also allow to manipulate the duration * for which the input has to be visible. * * @{ @@ -1433,7 +1433,7 @@ extern "C" { /** * Get show last setting of password mode. * - * This gets the show last input setting of password mode which might be + * This gets the show last input setting of password mode which might be * enabled or disabled. * * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 34879ad..ced1784 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -175,7 +175,7 @@ _on_focus_hook(void *data __UNUSED__, Evas_Object *obj) if (elm_widget_focus_get(obj)) { - //FIXME: + //FIXME: } else { @@ -1107,7 +1107,7 @@ elm_ctxpopup_add(Evas_Object *parent) evas_object_smart_callbacks_descriptions_set(obj, _signals); - //default parent is to be hover parent + //default parent is to be hover parent elm_ctxpopup_hover_parent_set(obj, parent); return obj; @@ -1203,7 +1203,7 @@ elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) elm_widget_sub_object_add(parent, obj); wd->parent = parent; - //Update Background + //Update Background evas_object_geometry_get(parent, &x, &y, &w, &h); evas_object_move(wd->bg, x, y); evas_object_resize(wd->bg, w, h); diff --git a/src/lib/elm_factory.c b/src/lib/elm_factory.c index a999e7e..3fa5787 100644 --- a/src/lib/elm_factory.c +++ b/src/lib/elm_factory.c @@ -9,7 +9,7 @@ struct _Widget_Data { Evas_Object *obj; Evas_Object *content; - int last_calc_count; + int last_calc_count; Evas_Coord maxminw, maxminh; Eina_Bool eval : 1; Eina_Bool szeval : 1; @@ -46,7 +46,7 @@ _del_hook(Evas_Object *obj) if (wd->content) { Evas_Object *o = wd->content; - + evas_object_event_callback_del_full(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _child_change, obj); @@ -129,7 +129,7 @@ _eval(Evas_Object *obj) if (evas_object_smart_data_get(wd->content)) evas_object_smart_calculate(wd->content); } - wd->last_calc_count = + wd->last_calc_count = evas_smart_objects_calculate_count_get(evas_object_evas_get(obj)); } } @@ -137,7 +137,7 @@ _eval(Evas_Object *obj) { if (wd->content) { - if (wd->last_calc_count != + if (wd->last_calc_count != evas_smart_objects_calculate_count_get(evas_object_evas_get(obj))) evas_object_smart_callback_call(obj, SIG_UNREALIZE, NULL); } diff --git a/src/lib/els_box.c b/src/lib/els_box.c index e2d406e..c2a122b 100644 --- a/src/lib/els_box.c +++ b/src/lib/els_box.c @@ -20,7 +20,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz evas_object_size_hint_min_get(opt->obj, &mnw, &mnh); if (minh < mnh) minh = mnh; if (minw < mnw) minw = mnw; - + evas_object_size_hint_max_get(opt->obj, &mnw, &mnh); if (mnh >= 0) { diff --git a/src/lib/els_scroller.c b/src/lib/els_scroller.c index 98377db..4e3d9a3 100644 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -1421,7 +1421,7 @@ _elm_smart_scroller_wanted_region_set(Evas_Object *obj) sd->down.hold_animator || sd->down.onhold_animator) return; sd->child.resized = EINA_FALSE; - + /* Flip to RTL cords only if init in RTL mode */ if (sd->is_mirrored) wx = _elm_smart_scroller_x_mirrored_get(obj, sd->wx); @@ -2102,7 +2102,7 @@ _smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *ev elm_smart_scroller_child_pos_get(sd->smart_obj, &x, &y); elm_smart_scroller_child_pos_set(sd->smart_obj, x, y); _update_wanted_coordinates(sd, x, y); - + if (sd->child.resized) _elm_smart_scroller_wanted_region_set(sd->smart_obj); -- 2.7.4