seoz pushed a commit to branch master.
commit eda2f37685df1c4d925be40e206c9c60988c1efe
Author: Daniel Juyung Seo <[email protected]>
Date: Mon Apr 1 11:45:21 2013 +0900
box: Fixed formatting.
1. Removed unnecessary blanakeees.
2. Fixed 80 chars wrap.
3. Format like another efl codes.
---
src/lib/elm_box.c | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c
index 2f92f76..61efce4 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,
--
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2