From a12ac35deeb0e22c4ef011888f6b8711f521f655 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Sun, 15 Dec 2013 06:24:41 +0900 Subject: [PATCH] elm examples: removed all the unnecessary empty lines. being pedantic. --- src/examples/actionslider_example_01.c | 1 - src/examples/bg_example_03.c | 1 - src/examples/check_example_01.c | 1 - src/examples/gengrid_example.c | 1 - src/examples/glview_example_01.c | 4 ---- src/examples/index_example_01.c | 1 - src/examples/location_example_01.c | 1 - src/examples/panel_example_01.c | 1 - src/examples/popup_example_02.c | 1 - src/examples/prefs_example_01.c | 1 - src/examples/prefs_example_02.c | 1 - src/examples/transit_example_03.c | 1 - 12 files changed, 15 deletions(-) diff --git a/src/examples/actionslider_example_01.c b/src/examples/actionslider_example_01.c index ffd223d..ef18eb3 100644 --- a/src/examples/actionslider_example_01.c +++ b/src/examples/actionslider_example_01.c @@ -100,7 +100,6 @@ elm_main(int argc, char **argv) evas_object_show(as); elm_box_pack_end(bx, as); - as = elm_actionslider_add(win); evas_object_size_hint_weight_set(as, EVAS_HINT_EXPAND, 0); evas_object_size_hint_align_set(as, EVAS_HINT_FILL, 0); diff --git a/src/examples/bg_example_03.c b/src/examples/bg_example_03.c index 2309d91..eddd616 100644 --- a/src/examples/bg_example_03.c +++ b/src/examples/bg_example_03.c @@ -154,5 +154,4 @@ elm_main(int argc, char **argv) return 0; } - ELM_MAIN() diff --git a/src/examples/check_example_01.c b/src/examples/check_example_01.c index 234100f..37dccff 100644 --- a/src/examples/check_example_01.c +++ b/src/examples/check_example_01.c @@ -50,4 +50,3 @@ elm_main(int argc, char **argv) return 0; } ELM_MAIN() - diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c index 14ec2a9..605e638 100644 --- a/src/examples/gengrid_example.c +++ b/src/examples/gengrid_example.c @@ -289,7 +289,6 @@ _long_pressed(void *data, fprintf(stdout, "Long press on item with handle %p\n", event_info); } - /* label fetching callback */ static char * _grid_label_get(void *data, diff --git a/src/examples/glview_example_01.c b/src/examples/glview_example_01.c index 0aa8ed6..4fbb4ad 100644 --- a/src/examples/glview_example_01.c +++ b/src/examples/glview_example_01.c @@ -122,8 +122,6 @@ init_shaders(GLData *gld) return 1; } - - // Callbacks // intialize callback that gets called once for intialization static void @@ -183,7 +181,6 @@ _resize_gl(Evas_Object *obj) gl->glViewport(0, 0, w, h); } - // draw callback is where all the main GL rendering happens static void _draw_gl(Evas_Object *obj) @@ -240,7 +237,6 @@ _del(void *data, Evas *evas, Evas_Object *obj, void *event_info) ecore_animator_del(ani); } - EAPI_MAIN int elm_main(int argc, char **argv) { diff --git a/src/examples/index_example_01.c b/src/examples/index_example_01.c index 2fa2a32..8369a3a 100644 --- a/src/examples/index_example_01.c +++ b/src/examples/index_example_01.c @@ -175,5 +175,4 @@ elm_main(int argc, char **argv) return 0; } - ELM_MAIN() diff --git a/src/examples/location_example_01.c b/src/examples/location_example_01.c index 86104d2..2994e49 100644 --- a/src/examples/location_example_01.c +++ b/src/examples/location_example_01.c @@ -91,4 +91,3 @@ elm_main(int argc, char *argv[]) return 0; } ELM_MAIN() - diff --git a/src/examples/panel_example_01.c b/src/examples/panel_example_01.c index 1ade341..39be425 100644 --- a/src/examples/panel_example_01.c +++ b/src/examples/panel_example_01.c @@ -56,7 +56,6 @@ elm_main(int argc, char **argv) evas_object_show(content); elm_object_content_set(panel, content); - evas_object_show(win); elm_run(); diff --git a/src/examples/popup_example_02.c b/src/examples/popup_example_02.c index e24128f..43a6e3b 100644 --- a/src/examples/popup_example_02.c +++ b/src/examples/popup_example_02.c @@ -76,4 +76,3 @@ _response_cb(void *data, Evas_Object *obj, { evas_object_del(data); } - diff --git a/src/examples/prefs_example_01.c b/src/examples/prefs_example_01.c index 1ee4705..813cfb3 100644 --- a/src/examples/prefs_example_01.c +++ b/src/examples/prefs_example_01.c @@ -108,5 +108,4 @@ elm_main(int argc, char **argv) return 0; } - ELM_MAIN() diff --git a/src/examples/prefs_example_02.c b/src/examples/prefs_example_02.c index 03f9c23..6945868 100644 --- a/src/examples/prefs_example_02.c +++ b/src/examples/prefs_example_02.c @@ -109,5 +109,4 @@ elm_main(int argc, char **argv) return 0; } - ELM_MAIN() diff --git a/src/examples/transit_example_03.c b/src/examples/transit_example_03.c index f0a9a01..ea09c83 100644 --- a/src/examples/transit_example_03.c +++ b/src/examples/transit_example_03.c @@ -61,7 +61,6 @@ _transit_resizing(Elm_Transit *trans) elm_transit_effect_resizing_add(trans, 250, 100, 400, 160); } - /* helper structure that will hold the transit checkboxes string, callbacks * and checked statuses */ static struct { -- 2.7.4