Get rid of trailing whitespaces (10 / 14)

Remove trailing whitespaces
Differential Revision: https://phab.enlightenment.org/D12009
This commit is contained in:
Elyes HAOUAS 2020-06-20 09:50:53 +00:00 committed by Stefan Schmidt
parent 1f61788c86
commit 17151e2eb8
13 changed files with 29 additions and 29 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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.

View File

@ -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;

View File

@ -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;

View File

@ -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
*
* @{
*

View File

@ -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
*/

View File

@ -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);

View File

@ -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))))

View File

@ -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.
*

View File

@ -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;