From: hermet Date: Fri, 16 Dec 2011 05:31:47 +0000 (+0000) Subject: elementary/ctxpopup - trivial changes. X-Git-Tag: REL_F_I9500_20120323_1~17^2~1101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c823d1ba494fbafaa045063787e7633a6be86b3;p=framework%2Fuifw%2Felementary.git elementary/ctxpopup - trivial changes. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66269 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 783a272..a24c155 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -64,7 +64,9 @@ static void _adjust_pos_y(Evas_Coord_Point *pos, Evas_Coord_Rectangle *hover_area); static Elm_Ctxpopup_Direction _calc_base_geometry(Evas_Object *obj, Evas_Coord_Rectangle *rect); -static void _update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direction dir, Evas_Coord_Rectangle rect); +static void _update_arrow(Evas_Object *obj, + Elm_Ctxpopup_Direction dir, + Evas_Coord_Rectangle rect); static void _sizing_eval(Evas_Object *obj); static void _shift_base_by_arrow(Evas_Object *arrow, Elm_Ctxpopup_Direction dir, @@ -201,7 +203,8 @@ _on_focus_hook(void *data __UNUSED__, Evas_Object *obj) } static Eina_Bool -_event_hook(Evas_Object *obj, Evas_Object *src __UNUSED__, Evas_Callback_Type type, void *event_info) +_event_hook(Evas_Object *obj, Evas_Object *src __UNUSED__, + Evas_Callback_Type type, void *event_info) { Evas_Event_Key_Down *ev; Widget_Data *wd; @@ -508,7 +511,8 @@ _calc_base_geometry(Evas_Object *obj, Evas_Coord_Rectangle *rect) } static void -_update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direction dir, Evas_Coord_Rectangle base_size) +_update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direction dir, + Evas_Coord_Rectangle base_size) { Evas_Coord x, y; Evas_Coord_Rectangle arrow_size; @@ -805,8 +809,7 @@ _theme_hook(Evas_Object *obj) } static void -_content_set_hook(Evas_Object *obj, const char *part, - Evas_Object *content) +_content_set_hook(Evas_Object *obj, const char *part, Evas_Object *content) { ELM_CHECK_WIDTYPE(obj, widtype); Evas_Coord min_w = -1, min_h = -1; @@ -888,9 +891,7 @@ _content_get_hook(const Evas_Object *obj, const char *part) } static void -_item_text_set_hook(Elm_Object_Item *it, - const char *part, - const char *label) +_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label) { ELM_OBJ_ITEM_CHECK_OR_RETURN(it); @@ -978,8 +979,7 @@ _item_disable_set_hook(Elm_Object_Item *it) } static void -_item_signal_emit_hook(Elm_Object_Item *it, - const char *emission, +_item_signal_emit_hook(Elm_Object_Item *it, const char *emission, const char *source) { ELM_OBJ_ITEM_CHECK_OR_RETURN(it); @@ -1047,11 +1047,8 @@ static void _content_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - Widget_Data *wd; - - wd = elm_widget_data_get(data); + Widget_Data *wd = elm_widget_data_get(data); if (!wd) return; - elm_box_recalculate(wd->box); _sizing_eval(data); }