summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-13 19:17:06 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-14 13:49:15 +0200
commitcd5f79c8147621aa6226b1b06040b1fcc70a28c8 (patch)
tree25c2f60d2f01109bd6e0ba72b667bf1ccb370b06 /src
parent2b1a72f3cb70a0c16dea221d53d7d48b619572c2 (diff)
tree-wide: get rid of trailing whitespace (part 4)
Remove trailing whitespaces Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11823
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_sys.c6
-rw-r--r--src/bin/e_system.c2
-rw-r--r--src/bin/e_thumb_main.c10
-rw-r--r--src/bin/e_widget_filepreview.c12
-rw-r--r--src/bin/e_widget_preview.c6
-rw-r--r--src/bin/e_xsettings.c22
-rw-r--r--src/bin/e_zone.c2
7 files changed, 30 insertions, 30 deletions
diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
index 8e70c2d29..89c388097 100644
--- a/src/bin/e_sys.c
+++ b/src/bin/e_sys.c
@@ -577,7 +577,7 @@ static void
577_e_sys_systemd_handle_inhibit(void) 577_e_sys_systemd_handle_inhibit(void)
578{ 578{
579 Eldbus_Message *m; 579 Eldbus_Message *m;
580 580
581 if (!login1_manger_proxy) return; 581 if (!login1_manger_proxy) return;
582 if (!(m = eldbus_proxy_method_call_new(login1_manger_proxy, "Inhibit"))) 582 if (!(m = eldbus_proxy_method_call_new(login1_manger_proxy, "Inhibit")))
583 return; 583 return;
@@ -626,7 +626,7 @@ static void
626_e_sys_systemd_exists_cb(void *data EINA_UNUSED, const Eldbus_Message *m, Eldbus_Pending *p EINA_UNUSED) 626_e_sys_systemd_exists_cb(void *data EINA_UNUSED, const Eldbus_Message *m, Eldbus_Pending *p EINA_UNUSED)
627{ 627{
628 const char *id = NULL; 628 const char *id = NULL;
629 629
630 if (eldbus_message_error_get(m, NULL, NULL)) goto fail; 630 if (eldbus_message_error_get(m, NULL, NULL)) goto fail;
631 if (!eldbus_message_arguments_get(m, "s", &id)) goto fail; 631 if (!eldbus_message_arguments_get(m, "s", &id)) goto fail;
632 if ((!id) || (id[0] != ':')) goto fail; 632 if ((!id) || (id[0] != ':')) goto fail;
@@ -690,7 +690,7 @@ _e_sys_susp_hib_check_timer_cb(void *data EINA_UNUSED)
690 _e_sys_susp_hib_check_timer = NULL; 690 _e_sys_susp_hib_check_timer = NULL;
691 if (_e_sys_resume_delay_timer) 691 if (_e_sys_resume_delay_timer)
692 ecore_timer_del(_e_sys_resume_delay_timer); 692 ecore_timer_del(_e_sys_resume_delay_timer);
693 _e_sys_resume_delay_timer = 693 _e_sys_resume_delay_timer =
694 ecore_timer_add(0.2, _e_sys_resume_delay, NULL); 694 ecore_timer_add(0.2, _e_sys_resume_delay, NULL);
695 return EINA_FALSE; 695 return EINA_FALSE;
696 } 696 }
diff --git a/src/bin/e_system.c b/src/bin/e_system.c
index bb8e5e999..1e7aabb64 100644
--- a/src/bin/e_system.c
+++ b/src/bin/e_system.c
@@ -273,7 +273,7 @@ EINTERN int
273e_system_init(void) 273e_system_init(void)
274{ 274{
275 // XXX: 275 // XXX:
276 // 276 //
277 // if exe_data - parse/get data 277 // if exe_data - parse/get data
278 // ... per message - call registered cb's for that msg 278 // ... per message - call registered cb's for that msg
279 _handler_del = ecore_event_handler_add(ECORE_EXE_EVENT_DEL, _cb_exe_del, NULL); 279 _handler_del = ecore_event_handler_add(ECORE_EXE_EVENT_DEL, _cb_exe_del, NULL);
diff --git a/src/bin/e_thumb_main.c b/src/bin/e_thumb_main.c
index c1a5a6dea..15385291a 100644
--- a/src/bin/e_thumb_main.c
+++ b/src/bin/e_thumb_main.c
@@ -346,7 +346,7 @@ _e_thumb_generate(E_Thumb *eth)
346 unsigned int *data1; 346 unsigned int *data1;
347 Eina_Bool sortkey; 347 Eina_Bool sortkey;
348 Evas_Object *im2, *bg; 348 Evas_Object *im2, *bg;
349 349
350 im = NULL; 350 im = NULL;
351 im2 = NULL; 351 im2 = NULL;
352 bg = NULL; 352 bg = NULL;
@@ -476,7 +476,7 @@ _e_thumb_generate(E_Thumb *eth)
476 evas_object_move(bg, 0, 0); 476 evas_object_move(bg, 0, 0);
477 evas_object_resize(bg, ww, hh); 477 evas_object_resize(bg, ww, hh);
478 evas_object_show(bg); 478 evas_object_show(bg);
479 479
480 im = evas_object_text_add(evas); 480 im = evas_object_text_add(evas);
481 evas_object_text_font_set(im, eth->file, hh / 4); 481 evas_object_text_font_set(im, eth->file, hh / 4);
482 evas_object_color_set(im, 192, 192, 192, 255); 482 evas_object_color_set(im, 192, 192, 192, 255);
@@ -489,7 +489,7 @@ _e_thumb_generate(E_Thumb *eth)
489 evas_object_move(im, tx, ty); 489 evas_object_move(im, tx, ty);
490 evas_object_resize(im, tw, th); 490 evas_object_resize(im, tw, th);
491 evas_object_show(im); 491 evas_object_show(im);
492 492
493 im2 = evas_object_text_add(evas); 493 im2 = evas_object_text_add(evas);
494 evas_object_text_font_set(im2, eth->file, hh / 4); 494 evas_object_text_font_set(im2, eth->file, hh / 4);
495 evas_object_color_set(im2, 255, 255, 255, 255); 495 evas_object_color_set(im2, 255, 255, 255, 255);
@@ -566,7 +566,7 @@ process:
566 if (data) 566 if (data)
567 { 567 {
568 unsigned int *data2; 568 unsigned int *data2;
569 569
570 data2 = malloc(ww * hh * sizeof(unsigned int)); 570 data2 = malloc(ww * hh * sizeof(unsigned int));
571 memcpy(data2, data, ww * hh * sizeof(unsigned int)); 571 memcpy(data2, data, ww * hh * sizeof(unsigned int));
572 ww = 1; hh = 1; 572 ww = 1; hh = 1;
@@ -592,7 +592,7 @@ process:
592 1, 14, 7, 8, 592 1, 14, 7, 8,
593 4, 11, 2, 13 593 4, 11, 2, 13
594 }; 594 };
595 595
596 /* ww = hh = 1 here */ 596 /* ww = hh = 1 here */
597 data3 = malloc(sizeof(unsigned int)); 597 data3 = malloc(sizeof(unsigned int));
598 memcpy(data3, data, sizeof(unsigned int)); 598 memcpy(data3, data, sizeof(unsigned int));
diff --git a/src/bin/e_widget_filepreview.c b/src/bin/e_widget_filepreview.c
index aa70e74e3..420e4b929 100644
--- a/src/bin/e_widget_filepreview.c
+++ b/src/bin/e_widget_filepreview.c
@@ -646,7 +646,7 @@ _e_wid_fprev_preview_file(E_Widget_Data *wd)
646 { 646 {
647 if (statvfs(mpoint, &stfs) != 0) ok = EINA_FALSE; 647 if (statvfs(mpoint, &stfs) != 0) ok = EINA_FALSE;
648 } 648 }
649 649
650 fragsz = stfs.f_frsize; 650 fragsz = stfs.f_frsize;
651 blknum = stfs.f_blocks; 651 blknum = stfs.f_blocks;
652 blkused = stfs.f_blocks - stfs.f_bfree; 652 blkused = stfs.f_blocks - stfs.f_bfree;
@@ -1135,7 +1135,7 @@ _e_wid_fprev_preview_font(E_Widget_Data *wd)
1135 buf = alloca(strlen(escaped) + 4096); 1135 buf = alloca(strlen(escaped) + 4096);
1136 snprintf(buf, strlen(wd->path) + 4096, 1136 snprintf(buf, strlen(wd->path) + 4096,
1137 "<font=%s>" 1137 "<font=%s>"
1138 1138
1139 "<font_size=28>" 1139 "<font_size=28>"
1140 "28 - ABC abc 0123 @!?#$*{}<ps/>" 1140 "28 - ABC abc 0123 @!?#$*{}<ps/>"
1141 "The quick brown fox jumps.<ps/>" 1141 "The quick brown fox jumps.<ps/>"
@@ -1143,19 +1143,19 @@ _e_wid_fprev_preview_font(E_Widget_Data *wd)
1143 "<font_size=20>" 1143 "<font_size=20>"
1144 "20 - ABC abc 0123 @!?#$*{}<ps/>" 1144 "20 - ABC abc 0123 @!?#$*{}<ps/>"
1145 "The quick brown fox jumps.<ps/>" 1145 "The quick brown fox jumps.<ps/>"
1146 1146
1147 "<font_size=16>" 1147 "<font_size=16>"
1148 "16 - ABC abc 0123 @!?#$*{}<ps/>" 1148 "16 - ABC abc 0123 @!?#$*{}<ps/>"
1149 "The quick brown fox jumps.<ps/>" 1149 "The quick brown fox jumps.<ps/>"
1150 1150
1151 "<font_size=12>" 1151 "<font_size=12>"
1152 "12 - ABC abc 0123 @!?#$*{}<ps/>" 1152 "12 - ABC abc 0123 @!?#$*{}<ps/>"
1153 "The quick brown fox jumps.<ps/>" 1153 "The quick brown fox jumps.<ps/>"
1154 1154
1155 "<font_size=10>" 1155 "<font_size=10>"
1156 "10 - ABC abc 0123 @!?#$*{}<ps/>" 1156 "10 - ABC abc 0123 @!?#$*{}<ps/>"
1157 "The quick brown fox jumps.<ps/>" 1157 "The quick brown fox jumps.<ps/>"
1158 1158
1159 "<font_size=8>" 1159 "<font_size=8>"
1160 "8 - ABC abc 0123 @!?#$*{}<ps/>" 1160 "8 - ABC abc 0123 @!?#$*{}<ps/>"
1161 "The quick brown fox jumps.<ps/>" 1161 "The quick brown fox jumps.<ps/>"
diff --git a/src/bin/e_widget_preview.c b/src/bin/e_widget_preview.c
index c0de8201d..2c06b6eb4 100644
--- a/src/bin/e_widget_preview.c
+++ b/src/bin/e_widget_preview.c
@@ -25,14 +25,14 @@ e_widget_preview_add(Evas *evas, int minw, int minh)
25 if (!wd) return NULL; 25 if (!wd) return NULL;
26 26
27 wd->obj = obj; 27 wd->obj = obj;
28 28
29 wd->o_frame = edje_object_add(evas); 29 wd->o_frame = edje_object_add(evas);
30 e_theme_edje_object_set(wd->o_frame, "base/theme/widgets", 30 e_theme_edje_object_set(wd->o_frame, "base/theme/widgets",
31 "e/widgets/preview"); 31 "e/widgets/preview");
32 evas_object_show(wd->o_frame); 32 evas_object_show(wd->o_frame);
33 e_widget_sub_object_add(obj, wd->o_frame); 33 e_widget_sub_object_add(obj, wd->o_frame);
34 e_widget_resize_object_set(obj, wd->o_frame); 34 e_widget_resize_object_set(obj, wd->o_frame);
35 35
36 wd->img = e_livethumb_add(evas); 36 wd->img = e_livethumb_add(evas);
37 e_livethumb_vsize_set(wd->img, minw * 2, minh * 2); 37 e_livethumb_vsize_set(wd->img, minw * 2, minh * 2);
38 evas_object_size_hint_min_set(wd->img, minw, minh); 38 evas_object_size_hint_min_set(wd->img, minw, minh);
@@ -41,7 +41,7 @@ e_widget_preview_add(Evas *evas, int minw, int minh)
41 evas_object_show(wd->img); 41 evas_object_show(wd->img);
42 e_widget_sub_object_add(obj, wd->img); 42 e_widget_sub_object_add(obj, wd->img);
43 edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->img); 43 edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->img);
44 44
45 e_widget_data_set(obj, wd); 45 e_widget_data_set(obj, wd);
46 e_widget_can_focus_set(obj, 0); 46 e_widget_can_focus_set(obj, 0);
47 edje_object_size_min_calc(wd->o_frame, &mw, &mh); 47 edje_object_size_min_calc(wd->o_frame, &mw, &mh);
diff --git a/src/bin/e_xsettings.c b/src/bin/e_xsettings.c
index 96e98e5ce..ba9aa06e5 100644
--- a/src/bin/e_xsettings.c
+++ b/src/bin/e_xsettings.c
@@ -92,7 +92,7 @@ _e_xsettings_selection_owner_set(void)
92 Eina_Bool ret; 92 Eina_Bool ret;
93 93
94 atom = _e_xsettings_atom_screen_get(0); 94 atom = _e_xsettings_atom_screen_get(0);
95 ecore_x_selection_owner_set(e_comp->cm_selection, atom, 95 ecore_x_selection_owner_set(e_comp->cm_selection, atom,
96 ecore_x_current_time_get()); 96 ecore_x_current_time_get());
97 ecore_x_sync(); 97 ecore_x_sync();
98 cur_selection = ecore_x_selection_owner_get(atom); 98 cur_selection = ecore_x_selection_owner_get(atom);
@@ -391,7 +391,7 @@ _e_xsettings_gtk_icon_update(void)
391 391
392 EINA_LIST_FOREACH(e_comp->clients, l, ec) 392 EINA_LIST_FOREACH(e_comp->clients, l, ec)
393 if (ec->icccm.state) 393 if (ec->icccm.state)
394 ecore_x_client_message8_send(e_client_util_win_get(ec), 394 ecore_x_client_message8_send(e_client_util_win_get(ec),
395 _atom_gtk_iconthemes, NULL, 0); 395 _atom_gtk_iconthemes, NULL, 0);
396} 396}
397 397
@@ -403,7 +403,7 @@ _e_xsettings_gtk_rcfiles_update(void)
403 403
404 EINA_LIST_FOREACH(e_comp->clients, l, ec) 404 EINA_LIST_FOREACH(e_comp->clients, l, ec)
405 if (ec->icccm.state) 405 if (ec->icccm.state)
406 ecore_x_client_message8_send(e_client_util_win_get(ec), 406 ecore_x_client_message8_send(e_client_util_win_get(ec),
407 _atom_gtk_rcfiles, NULL, 0); 407 _atom_gtk_rcfiles, NULL, 0);
408} 408}
409 409
@@ -440,9 +440,9 @@ _e_xsettings_error_cb(void *data, Eio_File *handler EINA_UNUSED, int error EINA_
440 reset = EINA_FALSE; 440 reset = EINA_FALSE;
441 if (l) 441 if (l)
442 { 442 {
443 snprintf(buf, sizeof(buf), "%s/themes/%s", 443 snprintf(buf, sizeof(buf), "%s/themes/%s",
444 (char *)eina_list_data_get(l), _setting_theme); 444 (char *)eina_list_data_get(l), _setting_theme);
445 eio_op = eio_file_direct_stat(buf, _e_xsettings_done_cb, 445 eio_op = eio_file_direct_stat(buf, _e_xsettings_done_cb,
446 _e_xsettings_error_cb, l); 446 _e_xsettings_error_cb, l);
447 return; 447 return;
448 } 448 }
@@ -452,7 +452,7 @@ _e_xsettings_error_cb(void *data, Eio_File *handler EINA_UNUSED, int error EINA_
452 _setting_theme = NULL; 452 _setting_theme = NULL;
453 453
454 if (e_config->xsettings.net_theme_name) 454 if (e_config->xsettings.net_theme_name)
455 _e_xsettings_string_set(_setting_theme_name, 455 _e_xsettings_string_set(_setting_theme_name,
456 e_config->xsettings.net_theme_name); 456 e_config->xsettings.net_theme_name);
457 else 457 else
458 _e_xsettings_string_set(_setting_theme_name, NULL); 458 _e_xsettings_string_set(_setting_theme_name, NULL);
@@ -481,7 +481,7 @@ _e_xsettings_theme_set(void)
481 if (e_config->xsettings.match_e17_theme) 481 if (e_config->xsettings.match_e17_theme)
482 { 482 {
483 const char *file; 483 const char *file;
484 484
485 file = e_theme_edje_file_get(NULL, "e/desktop/background"); 485 file = e_theme_edje_file_get(NULL, "e/desktop/background");
486 if (file) 486 if (file)
487 { 487 {
@@ -489,9 +489,9 @@ _e_xsettings_theme_set(void)
489 { 489 {
490 char buf[PATH_MAX]; 490 char buf[PATH_MAX];
491 491
492 e_user_homedir_snprintf(buf, sizeof(buf), 492 e_user_homedir_snprintf(buf, sizeof(buf),
493 ".themes/%s", _setting_theme); 493 ".themes/%s", _setting_theme);
494 eio_op = eio_file_direct_stat(buf, _e_xsettings_done_cb, 494 eio_op = eio_file_direct_stat(buf, _e_xsettings_done_cb,
495 _e_xsettings_error_cb, NULL); 495 _e_xsettings_error_cb, NULL);
496 setting = EINA_TRUE; 496 setting = EINA_TRUE;
497 return; 497 return;
@@ -546,7 +546,7 @@ _e_xsettings_font_set(void)
546 eina_strbuf_append_char(buf, ' '); 546 eina_strbuf_append_char(buf, ' ');
547 } 547 }
548 eina_strbuf_append(buf, size_buf); 548 eina_strbuf_append(buf, size_buf);
549 _e_xsettings_string_set(_setting_font_name, 549 _e_xsettings_string_set(_setting_font_name,
550 eina_strbuf_string_get(buf)); 550 eina_strbuf_string_get(buf));
551 eina_strbuf_free(buf); 551 eina_strbuf_free(buf);
552 e_font_properties_free(efp); 552 e_font_properties_free(efp);
@@ -564,7 +564,7 @@ static void
564_e_xsettings_xft_set(void) 564_e_xsettings_xft_set(void)
565{ 565{
566 if (e_config->scale.use_dpi) 566 if (e_config->scale.use_dpi)
567 _e_xsettings_int_set(_setting_xft_dpi, 567 _e_xsettings_int_set(_setting_xft_dpi,
568 e_config->scale.base_dpi, EINA_TRUE); 568 e_config->scale.base_dpi, EINA_TRUE);
569 else 569 else
570 _e_xsettings_int_set(_setting_xft_dpi, 0, EINA_FALSE); 570 _e_xsettings_int_set(_setting_xft_dpi, 0, EINA_FALSE);
diff --git a/src/bin/e_zone.c b/src/bin/e_zone.c
index 0d769b876..1991b9512 100644
--- a/src/bin/e_zone.c
+++ b/src/bin/e_zone.c
@@ -1265,7 +1265,7 @@ e_zone_useful_geometry_get(E_Zone *zone,
1265 zone->useful_geometry[1].h = zh; 1265 zone->useful_geometry[1].h = zh;
1266 zone->useful_geometry_changed = 1266 zone->useful_geometry_changed =
1267 !!memcmp(&zone->useful_geometry[0], &zone->useful_geometry[1], sizeof(Eina_Rectangle)); 1267 !!memcmp(&zone->useful_geometry[0], &zone->useful_geometry[1], sizeof(Eina_Rectangle));
1268 1268
1269 } 1269 }
1270 zone->useful_geometry_dirty = 0; 1270 zone->useful_geometry_dirty = 0;
1271 1271