summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:41:45 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:27:35 +0200
commit108ee1d485824a33047867b55f529e63fe11868c (patch)
treef93246a1615361b87a59cad773506e7f82746da6
parent09a7dadbac0ce278712668228cc8ce547d14e0eb (diff)
Get rid of trailing whitespaces (2 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12000
-rw-r--r--src/examples/ecore/ecore_compose_get_example.c2
-rw-r--r--src/examples/ecore/ecore_evas_buffer_example_02.c2
-rw-r--r--src/examples/ecore/ecore_evas_extn_plug_example.c2
-rw-r--r--src/examples/eina/eina_simple_xml_parser_01.c2
-rw-r--r--src/examples/eina/eina_str_01.c2
-rw-r--r--src/examples/elementary/efl_canvas_textblock_obstacles_example.c10
-rw-r--r--src/examples/elementary/filter_example.c2
-rw-r--r--src/examples/evas/evas-object-manipulation-eo.c2
8 files changed, 12 insertions, 12 deletions
diff --git a/src/examples/ecore/ecore_compose_get_example.c b/src/examples/ecore/ecore_compose_get_example.c
index b36fd01803..09a567dd5f 100644
--- a/src/examples/ecore/ecore_compose_get_example.c
+++ b/src/examples/ecore/ecore_compose_get_example.c
@@ -21,7 +21,7 @@ static void
21_data_reset(Data *d) 21_data_reset(Data *d)
22{ 22{
23 char *str; 23 char *str;
24 24
25 EINA_LIST_FREE(d->seq, str) eina_stringshare_del(str); 25 EINA_LIST_FREE(d->seq, str) eina_stringshare_del(str);
26 d->composing = EINA_FALSE; 26 d->composing = EINA_FALSE;
27} 27}
diff --git a/src/examples/ecore/ecore_evas_buffer_example_02.c b/src/examples/ecore/ecore_evas_buffer_example_02.c
index 7f3b8e44ef..f908f30ac9 100644
--- a/src/examples/ecore/ecore_evas_buffer_example_02.c
+++ b/src/examples/ecore/ecore_evas_buffer_example_02.c
@@ -95,7 +95,7 @@ main(void)
95 evas_object_move(r0, 0, 0); 95 evas_object_move(r0, 0, 0);
96 evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6); 96 evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6);
97 evas_object_show(r0); 97 evas_object_show(r0);
98 98
99 r1 = evas_object_rectangle_add(sub_canvas); 99 r1 = evas_object_rectangle_add(sub_canvas);
100 evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */ 100 evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */
101 evas_object_move(r1, 10, 10); 101 evas_object_move(r1, 10, 10);
diff --git a/src/examples/ecore/ecore_evas_extn_plug_example.c b/src/examples/ecore/ecore_evas_extn_plug_example.c
index 1a88e02a96..a002698b88 100644
--- a/src/examples/ecore/ecore_evas_extn_plug_example.c
+++ b/src/examples/ecore/ecore_evas_extn_plug_example.c
@@ -76,7 +76,7 @@ _button_1_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
76 color->b = b; 76 color->b = b;
77 color->a = a; 77 color->a = a;
78 78
79 ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color)); 79 ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color));
80} 80}
81 81
82static void 82static void
diff --git a/src/examples/eina/eina_simple_xml_parser_01.c b/src/examples/eina/eina_simple_xml_parser_01.c
index 824537c3b2..35aa0416ea 100644
--- a/src/examples/eina/eina_simple_xml_parser_01.c
+++ b/src/examples/eina/eina_simple_xml_parser_01.c
@@ -47,7 +47,7 @@ main(void)
47 _xml_tag_cb, array); 47 _xml_tag_cb, array);
48 48
49 eina_array_foreach(array, _print, NULL); 49 eina_array_foreach(array, _print, NULL);
50 50
51 eina_array_free(array); 51 eina_array_free(array);
52 free(buffer); 52 free(buffer);
53 } 53 }
diff --git a/src/examples/eina/eina_str_01.c b/src/examples/eina/eina_str_01.c
index fbe2cf0815..55b91316df 100644
--- a/src/examples/eina/eina_str_01.c
+++ b/src/examples/eina/eina_str_01.c
@@ -26,7 +26,7 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
26 26
27 free(arr[0]); 27 free(arr[0]);
28 free(arr); 28 free(arr);
29 29
30 str = malloc(sizeof(char) * 4); 30 str = malloc(sizeof(char) * 4);
31 strcpy(str, "bsd"); 31 strcpy(str, "bsd");
32 32
diff --git a/src/examples/elementary/efl_canvas_textblock_obstacles_example.c b/src/examples/elementary/efl_canvas_textblock_obstacles_example.c
index d14123a801..b2aca7ee2b 100644
--- a/src/examples/elementary/efl_canvas_textblock_obstacles_example.c
+++ b/src/examples/elementary/efl_canvas_textblock_obstacles_example.c
@@ -1,7 +1,7 @@
1#define EFL_BETA_API_SUPPORT 1 1#define EFL_BETA_API_SUPPORT 1
2 2
3#include <Efl_Ui.h> 3#include <Efl_Ui.h>
4 4
5 /** 5 /**
6 * Example of canvas textblock obstacles. 6 * Example of canvas textblock obstacles.
7 * 7 *
@@ -114,7 +114,7 @@ _key_down(void *data EINA_UNUSED, const Efl_Event *ev)
114 114
115 printf("Show/hide toggle for obstacle %p\n", 115 printf("Show/hide toggle for obstacle %p\n",
116 *d.t_data.obs_ptr); 116 *d.t_data.obs_ptr);
117 117
118 efl_canvas_textblock_obstacles_update(d.text); 118 efl_canvas_textblock_obstacles_update(d.text);
119 119
120 return; 120 return;
@@ -126,7 +126,7 @@ _key_down(void *data EINA_UNUSED, const Efl_Event *ev)
126 POINTER_CYCLE(d.t_data.obs_size_ptr, d.t_data.obs_size); 126 POINTER_CYCLE(d.t_data.obs_size_ptr, d.t_data.obs_size);
127 127
128 efl_gfx_entity_size_set(*d.t_data.obs_ptr, EINA_SIZE2D(*d.t_data.obs_size_ptr, *d.t_data.obs_size_ptr)); 128 efl_gfx_entity_size_set(*d.t_data.obs_ptr, EINA_SIZE2D(*d.t_data.obs_size_ptr, *d.t_data.obs_size_ptr));
129 129
130 efl_canvas_textblock_obstacles_update(d.text); 130 efl_canvas_textblock_obstacles_update(d.text);
131 131
132 printf("Changing obstacle size to: %d,%d\n", 132 printf("Changing obstacle size to: %d,%d\n",
@@ -205,7 +205,7 @@ _gui_quit_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
205 205
206static void 206static void
207_gui_setup() 207_gui_setup()
208{ 208{
209 /* init values one is going to cycle through while running this 209 /* init values one is going to cycle through while running this
210 * example */ 210 * example */
211 struct text_preset_data init_data = 211 struct text_preset_data init_data =
diff --git a/src/examples/elementary/filter_example.c b/src/examples/elementary/filter_example.c
index cc05b7d36f..29b86f0e5f 100644
--- a/src/examples/elementary/filter_example.c
+++ b/src/examples/elementary/filter_example.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * gcc -g filter_example.c -o filter_example `pkg-config --cflags --libs elementary` 2 * gcc -g filter_example.c -o filter_example `pkg-config --cflags --libs elementary`
3 */ 3 */
4#define EFL_BETA_API_SUPPORT 1 4#define EFL_BETA_API_SUPPORT 1
5#include <Elementary.h> 5#include <Elementary.h>
6 6
7typedef struct _Filter 7typedef struct _Filter
diff --git a/src/examples/evas/evas-object-manipulation-eo.c b/src/examples/evas/evas-object-manipulation-eo.c
index 6fba6e02bf..eb213d04bb 100644
--- a/src/examples/evas/evas-object-manipulation-eo.c
+++ b/src/examples/evas/evas-object-manipulation-eo.c
@@ -193,7 +193,7 @@ main(void)
193 * will be deleted automatically by parent.*/ 193 * will be deleted automatically by parent.*/
194 194
195 if (efl_file_set(d.img, img_path)) goto panic; 195 if (efl_file_set(d.img, img_path)) goto panic;
196 196
197 err = efl_file_load(d.img); 197 err = efl_file_load(d.img);
198 198
199 if (err != EVAS_LOAD_ERROR_NONE) 199 if (err != EVAS_LOAD_ERROR_NONE)