summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-01 11:45:21 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-01 11:49:04 +0900
commiteda2f37685df1c4d925be40e206c9c60988c1efe (patch)
tree1c422bcb6e018f84696a89dba7c859f39c1562b6
parent5cf5c818733c1724c38c8d2d660845fda670d5d3 (diff)
downloadelementary-eda2f37685df1c4d925be40e206c9c60988c1efe.tar.gz
box: Fixed formatting.
1. Removed unnecessary blanakeees. 2. Fixed 80 chars wrap. 3. Format like another efl codes.
-rw-r--r--src/lib/elm_box.c27
1 files changed, 11 insertions, 16 deletions
diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c
index 2f92f76d7..61efce41f 100644
--- a/src/lib/elm_box.c
+++ b/src/lib/elm_box.c
@@ -176,7 +176,6 @@ _on_size_hints_changed(void *data,
_sizing_eval(data);
}
-
static void
_elm_box_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
{
@@ -193,7 +192,6 @@ _elm_box_smart_sub_object_del(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
if (ret) *ret = EINA_TRUE;
}
-
static void
_elm_box_custom_layout(Evas_Object *o,
Evas_Object_Box_Data *priv,
@@ -398,29 +396,27 @@ static void
_elm_box_smart_add(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
Elm_Widget_Smart_Data *wd = eo_data_get(obj, ELM_OBJ_WIDGET_CLASS);
- elm_widget_resize_object_set(obj, evas_object_box_add(evas_object_evas_get(obj)));
+ elm_widget_resize_object_set(obj,
+ evas_object_box_add(evas_object_evas_get(obj)));
- evas_object_box_layout_set(wd->resize_obj, _elm_box_custom_layout, obj, NULL);
+ evas_object_box_layout_set(wd->resize_obj, _elm_box_custom_layout,
+ obj, NULL);
- evas_object_event_callback_add
- (wd->resize_obj, EVAS_CALLBACK_CHANGED_SIZE_HINTS,
- _on_size_hints_changed, obj);
+ evas_object_event_callback_add(wd->resize_obj,
+ EVAS_CALLBACK_CHANGED_SIZE_HINTS,
+ _on_size_hints_changed, obj);
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
- evas_object_smart_callback_add
- (wd->resize_obj, SIG_CHILD_ADDED,
- _child_added_cb_proxy, obj);
- evas_object_smart_callback_add
- (wd->resize_obj, SIG_CHILD_REMOVED,
- _child_removed_cb_proxy, obj);
-
+ evas_object_smart_callback_add(wd->resize_obj, SIG_CHILD_ADDED,
+ _child_added_cb_proxy, obj);
+ evas_object_smart_callback_add(wd->resize_obj, SIG_CHILD_REMOVED,
+ _child_removed_cb_proxy, obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
elm_widget_highlight_ignore_set(obj, EINA_TRUE);
}
-
static void
_elm_box_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
{
@@ -579,7 +575,6 @@ _pack_end(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
evas_object_box_append(wd->resize_obj, subobj);
}
-
EAPI void
elm_box_pack_before(Evas_Object *obj,
Evas_Object *subobj,