aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_photo.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2011-08-10 04:35:31 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2011-08-10 04:35:31 +0000
commitb8e186dcad58e1c037c32faeef932875747b77bc (patch)
treed574b9421f6d5cc0ec25ad7dadd66a8fc3169d44 /legacy/elementary/src/bin/test_photo.c
parentanother param name missed. (diff)
downloadefl-b8e186dcad58e1c037c32faeef932875747b77bc.tar.gz
elm: Refactoring. Removed trailing whitespaces and fixed indentation.
SVN revision: 62281
Diffstat (limited to 'legacy/elementary/src/bin/test_photo.c')
-rw-r--r--legacy/elementary/src/bin/test_photo.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/legacy/elementary/src/bin/test_photo.c b/legacy/elementary/src/bin/test_photo.c
index 7332721a6a..8e1bf95f9b 100644
--- a/legacy/elementary/src/bin/test_photo.c
+++ b/legacy/elementary/src/bin/test_photo.c
@@ -63,10 +63,11 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
evas_object_smart_callback_add(ph, "drag,stop",
drag_stop_cb, NULL);
- if((n == 2) || (n == 3)) {
+ if ((n == 2) || (n == 3))
+ {
elm_photo_fill_inside_set(ph, EINA_TRUE);
elm_object_style_set(ph, "shadow");
- }
+ }
elm_table_pack(tb, ph, i, j, 1, 1);
evas_object_show(ph);
}
@@ -86,17 +87,20 @@ test_photo(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
/* Never called, elm_photo never call "drop" smart cb */
static void
-drop_cb(void *mydata __UNUSED__, Evas_Object *obj, void *evdata __UNUSED__){
- printf("Drop on obj %p\n", obj);
+drop_cb(void *mydata __UNUSED__, Evas_Object *obj, void *evdata __UNUSED__)
+{
+ printf("Drop on obj %p\n", obj);
}
static void
-drag_start_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__){
+drag_start_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__)
+{
}
static void
-drag_stop_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__){
+drag_stop_cb(void *mydata __UNUSED__, Evas_Object *obj __UNUSED__, void *evdata __UNUSED__)
+{
}