From 17151e2eb8aef9bbe46b4e93ea4f832fbbf30d26 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 20 Jun 2020 09:50:53 +0000 Subject: [PATCH] Get rid of trailing whitespaces (10 / 14) Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12009 --- src/lib/eldbus/eldbus_core.c | 2 +- src/lib/eldbus/eldbus_message.c | 2 +- src/lib/eldbus/eldbus_pending.c | 2 +- src/lib/eldbus/eldbus_service.c | 2 +- src/lib/elementary/efl_access_object.h | 2 +- .../elementary/efl_ui_progressbar_private.h | 2 +- src/lib/elementary/efl_ui_widget.c | 4 +-- src/lib/elementary/elm_code_parse.h | 2 +- src/lib/elementary/elm_config.h | 30 +++++++++---------- src/lib/elementary/elm_icon.c | 2 +- src/lib/elementary/elm_macros.h | 4 +-- src/lib/elementary/elm_slider_legacy.h | 2 +- src/lib/elput/elput_evdev.c | 2 +- 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; int _eldbus_log_dom = -1; int eldbus_model_log_dom = -1; -/* We don't save ELDBUS_CONNECTION_TYPE_UNKNOWN in here so we need room for +/* We don't save ELDBUS_CONNECTION_TYPE_UNKNOWN in here so we need room for * last - 1 elements */ static void *shared_connections[ELDBUS_CONNECTION_TYPE_LAST - 1]; static 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 #ifdef DBUS_SYNTAX_H // added to libdbus: - // f426c6cddd158d6324923f28117bc8e512d6f64f Fri Feb 24 12:43:55 2012 +0000 + // f426c6cddd158d6324923f28117bc8e512d6f64f Fri Feb 24 12:43:55 2012 +0000 if (!dbus_validate_bus_name(dest, NULL)) { 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, WRN("Calling this function may result in dropped frames because the main loop is running"); dbus_error_init(&err); - dbus_msg = + dbus_msg = dbus_connection_send_with_reply_and_block(conn->dbus_conn, msg->dbus_msg, timeout, &err); 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 for (method2 = desc2->methods2; method2 && method2->method.member; method2++) _eldbus_service_method_add(iface, &method2->method); } - + iface->signals = desc->signals; iface->sign_of_signals = signatures; 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); * Emits Accessible 'PropertyChanged' signal for 'Value' property. */ #define efl_access_value_changed_signal_emit(obj) \ - efl_access_object_event_emit(obj, EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED, "value"); + efl_access_object_event_emit(obj, EFL_ACCESS_OBJECT_EVENT_PROPERTY_CHANGED, "value"); /** * 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 Evas_Coord size; /**< Width or height of progressbar */ double val; /**< Value of progressbar */ - + double val_min; double val_max; 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 EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE); is_widget = _elm_widget_is(sobj); - + if (!is_widget) sobj_parent = evas_object_data_del(sobj, "elm-parent"); - + if (sobj_parent && sobj_parent != obj) { 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 /** * @brief Parser helper functions. - * @defgroup Parser Hooking in and launching parsers + * @defgroup Parser Hooking in and launching parsers * * @{ * 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); /** * Return if a profile of the given name exists - * + * * @return EINA_TRUE if the profile exists, or EINA_FALSE if not * @param profile The profile's name * @ingroup Elm_Profile @@ -170,7 +170,7 @@ EAPI void elm_config_profile_set(const char *profile); * This will take the current in-memory config and write it out to the named * profile specified by @p profile. This will not change profile for the * application or make other processes switch profile. - * + * * @param profile The profile's name * @ingroup Elm_Profile * @@ -554,7 +554,7 @@ EAPI void elm_config_scroll_thumbscroll_sensitivity_friction_set(double * Get the smooth start mode for scrolling with your finger * * @return smooth scroll flag - * + * * @see elm_config_scroll_thumbscroll_smooth_start_set() * * @since 1.16 @@ -568,9 +568,9 @@ EAPI Eina_Bool elm_config_scroll_thumbscroll_smooth_start_get(void); * This enabled finger scrolling to scroll from the currunt point rather than * jumping and playing catch-up to make start of scrolling look smoother once * the finger or mouse goes past the threshold. - * + * * @param enable The enabled state of the smooth scroller - * + * * @see elm_config_scroll_thumbscroll_smooth_start_get() * * @since 1.16 @@ -582,7 +582,7 @@ EAPI void elm_config_scroll_thumbscroll_smooth_start_set(Eina_Bool enabl * Get the value of this option * * @return State of this option - * + * * @see elm_config_scroll_animation_disabled_set() * * @since 1.18 @@ -595,9 +595,9 @@ EAPI Eina_Bool elm_config_scroll_animation_disabled_get(void); * * This option disables timed animations during scrolling and forces scroll actions * to be performed immediately. - * + * * @param enable The state of this option - * + * * @see elm_config_scroll_animation_disabled_get() * * @since 1.18 @@ -609,7 +609,7 @@ EAPI void elm_config_scroll_animation_disabled_set(Eina_Bool enable); * Get the value of this option * * @return State of this option - * + * * @see elm_config_scroll_accel_factor_set() * * @since 1.18 @@ -623,12 +623,12 @@ EAPI double elm_config_scroll_accel_factor_get(void); * Using a mouse wheel or touchpad to scroll will result in events * being processed. If events occur quickly, the scroll amount will * be multiplied by this value to accelerate the scrolling. - * + * * @param factor The value of this option from 0.0 to 10.0 * * @see elm_config_scroll_accel_factor_get() * @note Set 0.0 to disable acceleration - * + * * @since 1.18 * @ingroup Elm_Scrolling */ @@ -652,11 +652,11 @@ EAPI double elm_config_scroll_thumbscroll_smooth_amount_get(void); * Scrolling with your finger can be smoothed out and the amount to smooth * is determined by this parameter. 0.0 means to not smooth at all and * 1.0 is to smooth as much as possible. - * + * * @param amount the amount to smooth from 0.0 to 1.0 with 0.0 being none * * @see elm_config_thumbscroll_acceleration_threshold_set() - * + * * @since 1.16 * @ingroup Elm_Scrolling */ @@ -680,11 +680,11 @@ EAPI double elm_config_scroll_thumbscroll_smooth_time_window_get(void); * Scrolling with your finger can be smoothed out and the window of time * to look at is determined by this config. The value is in seconds and * is from 0.0 to 1.0 - * + * * @param amount the time window in seconds (between 0.0 and 1.0) * * @see elm_config_scroll_thumbscroll_smooth_time_window_get() - * + * * @since 1.16 * @ingroup Elm_Scrolling */ 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) if (efl_file_loaded_get(obj)) return 0; err = efl_file_load(efl_super(obj, MY_CLASS)); if (err) return err; - + Efl_Ui_Image_Data *id = efl_data_scope_get(obj, EFL_UI_IMAGE_CLASS); _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 @@ // check if the rect (x, y, w, h) includes whole body of rect (xx, yy, ww, hh) #define ELM_RECTS_INCLUDE(x, y, w, h, xx, yy, ww, hh) (((x) <= (xx)) && (((x) + (w)) >= ((xx + (ww))) && ((y) <= (yy)) && (((y) + (h)) >= ((yy) + (hh))))) -// check if the rect (x,y,w,h) is either left of or stays out of body of rect(xx,yy,ww,hh) +// check if the rect (x,y,w,h) is either left of or stays out of body of rect(xx,yy,ww,hh) #define ELM_RECTS_X_AXIS_OUT(x, y, w, h, xx, yy, ww, hh) (((x) < (xx)) || (((x) + (w)) > ((xx) + (ww))) || (((y) + (h)) > ((yy) + (hh)))) -// check if the rect (x,y,w,h) is either top of or stays out of body of rect(xx,yy,ww,hh) +// check if the rect (x,y,w,h) is either top of or stays out of body of rect(xx,yy,ww,hh) #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) * @ingroup Elm_Slider */ EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator); - + /** * @brief Get the indicator label format of the slider. * 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 { Ecore_Event_Key *ev; - ev = calloc(1, sizeof(Ecore_Event_Key) + strlen(key) + strlen(keyname) + + ev = calloc(1, sizeof(Ecore_Event_Key) + strlen(key) + strlen(keyname) + ((compose[0] != '\0') ? strlen(compose) : 0) + 3); if (!ev) return;