summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:50:53 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:30:36 +0200
commit17151e2eb8aef9bbe46b4e93ea4f832fbbf30d26 (patch)
tree263185466af155e564129236f15061ae20073607
parent1f61788c86ca4c1f33989729dce5602fe3448c26 (diff)
Get rid of trailing whitespaces (10 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12009
-rw-r--r--src/lib/eldbus/eldbus_core.c2
-rw-r--r--src/lib/eldbus/eldbus_message.c2
-rw-r--r--src/lib/eldbus/eldbus_pending.c2
-rw-r--r--src/lib/eldbus/eldbus_service.c2
-rw-r--r--src/lib/elementary/efl_access_object.h2
-rw-r--r--src/lib/elementary/efl_ui_progressbar_private.h2
-rw-r--r--src/lib/elementary/efl_ui_widget.c4
-rw-r--r--src/lib/elementary/elm_code_parse.h2
-rw-r--r--src/lib/elementary/elm_config.h30
-rw-r--r--src/lib/elementary/elm_icon.c2
-rw-r--r--src/lib/elementary/elm_macros.h4
-rw-r--r--src/lib/elementary/elm_slider_legacy.h2
-rw-r--r--src/lib/elput/elput_evdev.c2
13 files changed, 29 insertions, 29 deletions
diff --git a/src/lib/eldbus/eldbus_core.c b/src/lib/eldbus/eldbus_core.c
index 7e79be5ddf..513314741a 100644
--- a/src/lib/eldbus/eldbus_core.c
+++ b/src/lib/eldbus/eldbus_core.c
@@ -75,7 +75,7 @@ static int _eldbus_init_count = 0;
75int _eldbus_log_dom = -1; 75int _eldbus_log_dom = -1;
76int eldbus_model_log_dom = -1; 76int eldbus_model_log_dom = -1;
77 77
78/* We don't save ELDBUS_CONNECTION_TYPE_UNKNOWN in here so we need room for 78/* We don't save ELDBUS_CONNECTION_TYPE_UNKNOWN in here so we need room for
79 * last - 1 elements */ 79 * last - 1 elements */
80static void *shared_connections[ELDBUS_CONNECTION_TYPE_LAST - 1]; 80static void *shared_connections[ELDBUS_CONNECTION_TYPE_LAST - 1];
81static Eina_Hash *address_connections = NULL; 81static Eina_Hash *address_connections = NULL;
diff --git a/src/lib/eldbus/eldbus_message.c b/src/lib/eldbus/eldbus_message.c
index f8605dd9d1..f31f8c4fcf 100644
--- a/src/lib/eldbus/eldbus_message.c
+++ b/src/lib/eldbus/eldbus_message.c
@@ -110,7 +110,7 @@ eldbus_message_method_call_new(const char *dest, const char *path, const char *i
110 110
111#ifdef DBUS_SYNTAX_H 111#ifdef DBUS_SYNTAX_H
112 // added to libdbus: 112 // added to libdbus:
113 // f426c6cddd158d6324923f28117bc8e512d6f64f Fri Feb 24 12:43:55 2012 +0000 113 // f426c6cddd158d6324923f28117bc8e512d6f64f Fri Feb 24 12:43:55 2012 +0000
114 if (!dbus_validate_bus_name(dest, NULL)) 114 if (!dbus_validate_bus_name(dest, NULL))
115 { 115 {
116 ERR("Invalid bus name '%s'", dest); 116 ERR("Invalid bus name '%s'", dest);
diff --git a/src/lib/eldbus/eldbus_pending.c b/src/lib/eldbus/eldbus_pending.c
index be42235a03..c9cecabde9 100644
--- a/src/lib/eldbus/eldbus_pending.c
+++ b/src/lib/eldbus/eldbus_pending.c
@@ -200,7 +200,7 @@ _eldbus_connection_send_and_block(Eldbus_Connection *conn, Eldbus_Message *msg,
200 WRN("Calling this function may result in dropped frames because the main loop is running"); 200 WRN("Calling this function may result in dropped frames because the main loop is running");
201 201
202 dbus_error_init(&err); 202 dbus_error_init(&err);
203 dbus_msg = 203 dbus_msg =
204 dbus_connection_send_with_reply_and_block(conn->dbus_conn, 204 dbus_connection_send_with_reply_and_block(conn->dbus_conn,
205 msg->dbus_msg, timeout, &err); 205 msg->dbus_msg, timeout, &err);
206 EINA_SAFETY_ON_TRUE_GOTO(dbus_error_is_set(&err), dbus_error_set); 206 EINA_SAFETY_ON_TRUE_GOTO(dbus_error_is_set(&err), dbus_error_set);
diff --git a/src/lib/eldbus/eldbus_service.c b/src/lib/eldbus/eldbus_service.c
index 165da86081..cde674ba58 100644
--- a/src/lib/eldbus/eldbus_service.c
+++ b/src/lib/eldbus/eldbus_service.c
@@ -973,7 +973,7 @@ _eldbus_service_interface_register(Eldbus_Connection *conn, const char *path, co
973 for (method2 = desc2->methods2; method2 && method2->method.member; method2++) 973 for (method2 = desc2->methods2; method2 && method2->method.member; method2++)
974 _eldbus_service_method_add(iface, &method2->method); 974 _eldbus_service_method_add(iface, &method2->method);
975 } 975 }
976 976
977 iface->signals = desc->signals; 977 iface->signals = desc->signals;
978 iface->sign_of_signals = signatures; 978 iface->sign_of_signals = signatures;
979 979
diff --git a/src/lib/elementary/efl_access_object.h b/src/lib/elementary/efl_access_object.h
index 7f711a55c7..4ad1ede4e5 100644
--- a/src/lib/elementary/efl_access_object.h
+++ b/src/lib/elementary/efl_access_object.h
@@ -78,7 +78,7 @@ efl_access_attribute_free(Efl_Access_Attribute *attr);
78 * Emits Accessible 'PropertyChanged' signal for 'Value' property. 78 * Emits Accessible 'PropertyChanged' signal for 'Value' property.
79 */ 79 */
80#define efl_access_value_changed_signal_emit(obj) \ 80#define efl_access_value_changed_signal_emit(obj) \
81 efl_access_object_event_emit(obj, EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED, "value"); 81 efl_access_object_event_emit(obj, EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED, "value");
82 82
83/** 83/**
84 * Emits Accessible 'ChildrenChanged' signal with added child as argument. 84 * Emits Accessible 'ChildrenChanged' signal with added child as argument.
diff --git a/src/lib/elementary/efl_ui_progressbar_private.h b/src/lib/elementary/efl_ui_progressbar_private.h
index 48b999b532..7d75ca38b2 100644
--- a/src/lib/elementary/efl_ui_progressbar_private.h
+++ b/src/lib/elementary/efl_ui_progressbar_private.h
@@ -32,7 +32,7 @@ struct _Efl_Ui_Progressbar_Data
32 32
33 Evas_Coord size; /**< Width or height of progressbar */ 33 Evas_Coord size; /**< Width or height of progressbar */
34 double val; /**< Value of progressbar */ 34 double val; /**< Value of progressbar */
35 35
36 double val_min; 36 double val_min;
37 double val_max; 37 double val_max;
38 38
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 16e55ec6c9..5607a2060c 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1563,9 +1563,9 @@ _efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
1563 EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); 1563 EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE);
1564 1564
1565 is_widget = _elm_widget_is(sobj); 1565 is_widget = _elm_widget_is(sobj);
1566 1566
1567 if (!is_widget) sobj_parent = evas_object_data_del(sobj, "elm-parent"); 1567 if (!is_widget) sobj_parent = evas_object_data_del(sobj, "elm-parent");
1568 1568
1569 if (sobj_parent && sobj_parent != obj) 1569 if (sobj_parent && sobj_parent != obj)
1570 { 1570 {
1571 static int abort_on_warn = -1; 1571 static int abort_on_warn = -1;
diff --git a/src/lib/elementary/elm_code_parse.h b/src/lib/elementary/elm_code_parse.h
index 91cd5eba13..ec86cc53b3 100644
--- a/src/lib/elementary/elm_code_parse.h
+++ b/src/lib/elementary/elm_code_parse.h
@@ -18,7 +18,7 @@ EAPI extern Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO; /**< A provided pars
18 18
19/** 19/**
20 * @brief Parser helper functions. 20 * @brief Parser helper functions.
21 * @defgroup Parser Hooking in and launching parsers 21 * @defgroup Parser Hooking in and launching parsers
22 * 22 *
23 * @{ 23 * @{
24 * 24 *
diff --git a/src/lib/elementary/elm_config.h b/src/lib/elementary/elm_config.h
index b4708221a0..c4915ee497 100644
--- a/src/lib/elementary/elm_config.h
+++ b/src/lib/elementary/elm_config.h
@@ -142,7 +142,7 @@ EAPI void elm_config_profile_list_free(Eina_List *l);
142 142
143/** 143/**
144 * Return if a profile of the given name exists 144 * Return if a profile of the given name exists
145 * 145 *
146 * @return EINA_TRUE if the profile exists, or EINA_FALSE if not 146 * @return EINA_TRUE if the profile exists, or EINA_FALSE if not
147 * @param profile The profile's name 147 * @param profile The profile's name
148 * @ingroup Elm_Profile 148 * @ingroup Elm_Profile
@@ -170,7 +170,7 @@ EAPI void elm_config_profile_set(const char *profile);
170 * This will take the current in-memory config and write it out to the named 170 * This will take the current in-memory config and write it out to the named
171 * profile specified by @p profile. This will not change profile for the 171 * profile specified by @p profile. This will not change profile for the
172 * application or make other processes switch profile. 172 * application or make other processes switch profile.
173 * 173 *
174 * @param profile The profile's name 174 * @param profile The profile's name
175 * @ingroup Elm_Profile 175 * @ingroup Elm_Profile
176 * 176 *
@@ -554,7 +554,7 @@ EAPI void elm_config_scroll_thumbscroll_sensitivity_friction_set(double
554 * Get the smooth start mode for scrolling with your finger 554 * Get the smooth start mode for scrolling with your finger
555 * 555 *
556 * @return smooth scroll flag 556 * @return smooth scroll flag
557 * 557 *
558 * @see elm_config_scroll_thumbscroll_smooth_start_set() 558 * @see elm_config_scroll_thumbscroll_smooth_start_set()
559 * 559 *
560 * @since 1.16 560 * @since 1.16
@@ -568,9 +568,9 @@ EAPI Eina_Bool elm_config_scroll_thumbscroll_smooth_start_get(void);
568 * This enabled finger scrolling to scroll from the currunt point rather than 568 * This enabled finger scrolling to scroll from the currunt point rather than
569 * jumping and playing catch-up to make start of scrolling look smoother once 569 * jumping and playing catch-up to make start of scrolling look smoother once
570 * the finger or mouse goes past the threshold. 570 * the finger or mouse goes past the threshold.
571 * 571 *
572 * @param enable The enabled state of the smooth scroller 572 * @param enable The enabled state of the smooth scroller
573 * 573 *
574 * @see elm_config_scroll_thumbscroll_smooth_start_get() 574 * @see elm_config_scroll_thumbscroll_smooth_start_get()
575 * 575 *
576 * @since 1.16 576 * @since 1.16
@@ -582,7 +582,7 @@ EAPI void elm_config_scroll_thumbscroll_smooth_start_set(Eina_Bool enabl
582 * Get the value of this option 582 * Get the value of this option
583 * 583 *
584 * @return State of this option 584 * @return State of this option
585 * 585 *
586 * @see elm_config_scroll_animation_disabled_set() 586 * @see elm_config_scroll_animation_disabled_set()
587 * 587 *
588 * @since 1.18 588 * @since 1.18
@@ -595,9 +595,9 @@ EAPI Eina_Bool elm_config_scroll_animation_disabled_get(void);
595 * 595 *
596 * This option disables timed animations during scrolling and forces scroll actions 596 * This option disables timed animations during scrolling and forces scroll actions
597 * to be performed immediately. 597 * to be performed immediately.
598 * 598 *
599 * @param enable The state of this option 599 * @param enable The state of this option
600 * 600 *
601 * @see elm_config_scroll_animation_disabled_get() 601 * @see elm_config_scroll_animation_disabled_get()
602 * 602 *
603 * @since 1.18 603 * @since 1.18
@@ -609,7 +609,7 @@ EAPI void elm_config_scroll_animation_disabled_set(Eina_Bool enable);
609 * Get the value of this option 609 * Get the value of this option
610 * 610 *
611 * @return State of this option 611 * @return State of this option
612 * 612 *
613 * @see elm_config_scroll_accel_factor_set() 613 * @see elm_config_scroll_accel_factor_set()
614 * 614 *
615 * @since 1.18 615 * @since 1.18
@@ -623,12 +623,12 @@ EAPI double elm_config_scroll_accel_factor_get(void);
623 * Using a mouse wheel or touchpad to scroll will result in events 623 * Using a mouse wheel or touchpad to scroll will result in events
624 * being processed. If events occur quickly, the scroll amount will 624 * being processed. If events occur quickly, the scroll amount will
625 * be multiplied by this value to accelerate the scrolling. 625 * be multiplied by this value to accelerate the scrolling.
626 * 626 *
627 * @param factor The value of this option from 0.0 to 10.0 627 * @param factor The value of this option from 0.0 to 10.0
628 * 628 *
629 * @see elm_config_scroll_accel_factor_get() 629 * @see elm_config_scroll_accel_factor_get()
630 * @note Set 0.0 to disable acceleration 630 * @note Set 0.0 to disable acceleration
631 * 631 *
632 * @since 1.18 632 * @since 1.18
633 * @ingroup Elm_Scrolling 633 * @ingroup Elm_Scrolling
634 */ 634 */
@@ -652,11 +652,11 @@ EAPI double elm_config_scroll_thumbscroll_smooth_amount_get(void);
652 * Scrolling with your finger can be smoothed out and the amount to smooth 652 * Scrolling with your finger can be smoothed out and the amount to smooth
653 * is determined by this parameter. 0.0 means to not smooth at all and 653 * is determined by this parameter. 0.0 means to not smooth at all and
654 * 1.0 is to smooth as much as possible. 654 * 1.0 is to smooth as much as possible.
655 * 655 *
656 * @param amount the amount to smooth from 0.0 to 1.0 with 0.0 being none 656 * @param amount the amount to smooth from 0.0 to 1.0 with 0.0 being none
657 * 657 *
658 * @see elm_config_thumbscroll_acceleration_threshold_set() 658 * @see elm_config_thumbscroll_acceleration_threshold_set()
659 * 659 *
660 * @since 1.16 660 * @since 1.16
661 * @ingroup Elm_Scrolling 661 * @ingroup Elm_Scrolling
662 */ 662 */
@@ -680,11 +680,11 @@ EAPI double elm_config_scroll_thumbscroll_smooth_time_window_get(void);
680 * Scrolling with your finger can be smoothed out and the window of time 680 * Scrolling with your finger can be smoothed out and the window of time
681 * to look at is determined by this config. The value is in seconds and 681 * to look at is determined by this config. The value is in seconds and
682 * is from 0.0 to 1.0 682 * is from 0.0 to 1.0
683 * 683 *
684 * @param amount the time window in seconds (between 0.0 and 1.0) 684 * @param amount the time window in seconds (between 0.0 and 1.0)
685 * 685 *
686 * @see elm_config_scroll_thumbscroll_smooth_time_window_get() 686 * @see elm_config_scroll_thumbscroll_smooth_time_window_get()
687 * 687 *
688 * @since 1.16 688 * @since 1.16
689 * @ingroup Elm_Scrolling 689 * @ingroup Elm_Scrolling
690 */ 690 */
diff --git a/src/lib/elementary/elm_icon.c b/src/lib/elementary/elm_icon.c
index 910933d22f..c6b626a410 100644
--- a/src/lib/elementary/elm_icon.c
+++ b/src/lib/elementary/elm_icon.c
@@ -322,7 +322,7 @@ _elm_icon_efl_file_load(Eo *obj, Elm_Icon_Data *sd)
322 if (efl_file_loaded_get(obj)) return 0; 322 if (efl_file_loaded_get(obj)) return 0;
323 err = efl_file_load(efl_super(obj, MY_CLASS)); 323 err = efl_file_load(efl_super(obj, MY_CLASS));
324 if (err) return err; 324 if (err) return err;
325 325
326 Efl_Ui_Image_Data *id = efl_data_scope_get(obj, EFL_UI_IMAGE_CLASS); 326 Efl_Ui_Image_Data *id = efl_data_scope_get(obj, EFL_UI_IMAGE_CLASS);
327 327
328 _edje_signals_free(sd); 328 _edje_signals_free(sd);
diff --git a/src/lib/elementary/elm_macros.h b/src/lib/elementary/elm_macros.h
index 0ce9b6c5db..4c81567699 100644
--- a/src/lib/elementary/elm_macros.h
+++ b/src/lib/elementary/elm_macros.h
@@ -9,8 +9,8 @@
9// check if the rect (x, y, w, h) includes whole body of rect (xx, yy, ww, hh) 9// check if the rect (x, y, w, h) includes whole body of rect (xx, yy, ww, hh)
10#define ELM_RECTS_INCLUDE(x, y, w, h, xx, yy, ww, hh) (((x) <= (xx)) && (((x) + (w)) >= ((xx + (ww))) && ((y) <= (yy)) && (((y) + (h)) >= ((yy) + (hh))))) 10#define ELM_RECTS_INCLUDE(x, y, w, h, xx, yy, ww, hh) (((x) <= (xx)) && (((x) + (w)) >= ((xx + (ww))) && ((y) <= (yy)) && (((y) + (h)) >= ((yy) + (hh)))))
11 11
12// check if the rect (x,y,w,h) is either left of or stays out of body of rect(xx,yy,ww,hh) 12// check if the rect (x,y,w,h) is either left of or stays out of body of rect(xx,yy,ww,hh)
13#define ELM_RECTS_X_AXIS_OUT(x, y, w, h, xx, yy, ww, hh) (((x) < (xx)) || (((x) + (w)) > ((xx) + (ww))) || (((y) + (h)) > ((yy) + (hh)))) 13#define ELM_RECTS_X_AXIS_OUT(x, y, w, h, xx, yy, ww, hh) (((x) < (xx)) || (((x) + (w)) > ((xx) + (ww))) || (((y) + (h)) > ((yy) + (hh))))
14 14
15// check if the rect (x,y,w,h) is either top of or stays out of body of rect(xx,yy,ww,hh) 15// check if the rect (x,y,w,h) is either top of or stays out of body of rect(xx,yy,ww,hh)
16#define ELM_RECTS_Y_AXIS_OUT(x, y, w, h, xx, yy, ww, hh) (((y) < (yy)) || (((x) + (w)) > ((xx) + (ww))) || (((y) + (h)) > ((yy) + (hh)))) 16#define ELM_RECTS_Y_AXIS_OUT(x, y, w, h, xx, yy, ww, hh) (((y) < (yy)) || (((x) + (w)) > ((xx) + (ww))) || (((y) + (h)) > ((yy) + (hh))))
diff --git a/src/lib/elementary/elm_slider_legacy.h b/src/lib/elementary/elm_slider_legacy.h
index aa32dec6b1..60d29de304 100644
--- a/src/lib/elementary/elm_slider_legacy.h
+++ b/src/lib/elementary/elm_slider_legacy.h
@@ -256,7 +256,7 @@ EAPI void elm_slider_range_get(const Evas_Object *obj, double *from, double *to)
256 * @ingroup Elm_Slider 256 * @ingroup Elm_Slider
257 */ 257 */
258 EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator); 258 EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator);
259 259
260 /** 260 /**
261 * @brief Get the indicator label format of the slider. 261 * @brief Get the indicator label format of the slider.
262 * 262 *
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index 635061a08c..3ca7f824c3 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -317,7 +317,7 @@ _keyboard_key_send(Elput_Device *dev, enum libinput_key_state state, const char
317{ 317{
318 Ecore_Event_Key *ev; 318 Ecore_Event_Key *ev;
319 319
320 ev = calloc(1, sizeof(Ecore_Event_Key) + strlen(key) + strlen(keyname) + 320 ev = calloc(1, sizeof(Ecore_Event_Key) + strlen(key) + strlen(keyname) +
321 ((compose[0] != '\0') ? strlen(compose) : 0) + 3); 321 ((compose[0] != '\0') ? strlen(compose) : 0) + 3);
322 if (!ev) return; 322 if (!ev) return;
323 323