tree-wide: get rid of trailing whitespace (part 1)

Remove trailing white spaces.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11780
enlightenment-0.24
Elyes HAOUAS 2 years ago committed by Stefan Schmidt
parent 2a96a8dbaf
commit 3524bc167c
  1. 4
      src/bin/e_actions.c
  2. 2
      src/bin/e_bindings.c
  3. 4
      src/bin/e_bryce.c
  4. 14
      src/bin/e_client.c
  5. 2
      src/bin/e_client.h
  6. 10
      src/bin/e_comp.c
  7. 2
      src/bin/e_comp_canvas.c
  8. 6
      src/bin/e_comp_object.c
  9. 2
      src/bin/e_comp_wl.c
  10. 2
      src/bin/e_comp_wl_dmabuf.c
  11. 18
      src/bin/e_comp_x.c
  12. 2
      src/bin/e_comp_x_randr.c
  13. 8
      src/bin/e_config_data.h
  14. 2
      src/bin/e_config_dialog.c
  15. 52
      src/bin/e_fm.c
  16. 2
      src/bin/e_fm/e_fm_ipc.c
  17. 24
      src/bin/e_fm/e_fm_main_eeze.c
  18. 4
      src/bin/e_fm/e_fm_main_udisks2.c
  19. 2
      src/bin/e_focus.c
  20. 4
      src/bin/e_gadget.c
  21. 2
      src/bin/e_gadget_loader.c
  22. 4
      src/bin/e_hints.c

@ -1156,7 +1156,7 @@ window_jump_to(const char *params)
{
if (!e_client_focus_policy_click(ec))
e_client_pointer_warp_to_center_now(ec);
}
}
evas_object_focus_set(ec->frame, 1);
return 1;
}
@ -3447,7 +3447,7 @@ e_actions_init(void)
e_action_predef_name_set(N_("Desktop"), N_("Switch Desktop To... On Screen..."),
"desk_linear_flip_to_screen", NULL,
"syntax: D S, example: 0 1", 1);
/* desk_linear_flip_by */
ACT_GO(desk_linear_flip_by);
e_action_predef_name_set(N_("Desktop"), N_("Flip Desktop Linearly..."),

@ -489,7 +489,7 @@ e_bindings_mouse_action_modifiers_text_generate(E_Binding_Context ctxt, const ch
keys[2].val = &alt;
keys[3].val = &win;
keys[4].val = &altgr;
EINA_LIST_FOREACH(e_bindings->mouse_bindings, l, ebm)
if ((ebm->context == (int)ctxt) && eina_streq(ebm->action, action))
{

@ -97,7 +97,7 @@ _bryce_autohide_coords(Bryce *b, int *x, int *y)
if (b->parent == e_comp->elm)
{
E_Zone *zone;
zone = e_comp_zone_number_get(b->zone);
ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h;
}
@ -135,7 +135,7 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
if (b->parent == e_comp->elm)
{
E_Zone *zone;
zone = e_comp_zone_number_get(b->zone);
ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h;
if (starting)

@ -101,7 +101,7 @@ _e_client_cb_config_mode(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev
E_Layer layer;
/* move fullscreen borders above everything */
if (e_config->mode.presentation)
layer = E_LAYER_CLIENT_TOP;
else if (!e_config->allow_above_fullscreen)
@ -251,7 +251,7 @@ cleanup:
if (!warp_client->lock_user_shade)
e_client_unshade(warp_client, warp_client->shade_dir);
}
if (!warp_client->lock_focus_out)
{
evas_object_focus_set(warp_client->frame, 1);
@ -557,7 +557,7 @@ _e_client_free(E_Client *ec)
eina_stringshare_replace(&ec->internal_icon, NULL);
eina_stringshare_replace(&ec->internal_icon_key, NULL);
eina_stringshare_replace(&ec->uuid, NULL);
focus_stack = eina_list_remove(focus_stack, ec);
raise_stack = eina_list_remove(raise_stack, ec);
@ -2422,7 +2422,7 @@ _e_client_frame_update(E_Client *ec)
bordername = "nofocus";
else if (ec->urgent)
bordername = "urgent";
else if (((ec->icccm.transient_for && (!ec->netwm.type)) || (ec->dialog)) &&
else if (((ec->icccm.transient_for && (!ec->netwm.type)) || (ec->dialog)) &&
(e_pixmap_is_x(ec->pixmap)))
bordername = "dialog";
else if (ec->netwm.state.modal)
@ -2691,7 +2691,7 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
ec->new_client = 1;
e_comp->new_clients++;
if (!_e_client_hook_call(E_CLIENT_HOOK_NEW_CLIENT, ec))
if (!_e_client_hook_call(E_CLIENT_HOOK_NEW_CLIENT, ec))
{
/* delete the above allocated object */
//e_object_del(E_OBJECT(ec));
@ -3829,7 +3829,7 @@ e_client_focused_set(E_Client *ec)
_e_client_hook_call(E_CLIENT_HOOK_FOCUS_UNSET, ec_unfocus);
/* only send event here if we're not being deleted */
if ((!e_object_is_del(E_OBJECT(ec_unfocus))) &&
if ((!e_object_is_del(E_OBJECT(ec_unfocus))) &&
(e_object_ref_get(E_OBJECT(ec_unfocus)) > 0))
{
_e_client_event_simple(ec_unfocus, E_EVENT_CLIENT_FOCUS_OUT);
@ -4499,7 +4499,7 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
if ((eina_list_count(e_comp->zones) > 1) ||
(policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
#else
if ((eina_list_count(e_comp->zones) > 1) ||
if ((eina_list_count(e_comp->zones) > 1) ||
(policy == E_FULLSCREEN_RESIZE))
#endif
{

@ -568,7 +568,7 @@ struct E_Client
unsigned char have_property E_BITFIELD;
unsigned char vkbd E_BITFIELD;
} vkbd;
struct {
unsigned int steam_game_id;
} steam;

@ -67,7 +67,7 @@ _e_comp_visible_object_clip_is(Evas_Object *obj)
{
Evas_Object *clip;
int a;
clip = evas_object_clip_get(obj);
if (!evas_object_visible_get(clip)) return EINA_FALSE;
evas_object_color_get(clip, NULL, NULL, NULL, &a);
@ -93,7 +93,7 @@ _e_comp_visible_object_is(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coo
)
{
int a;
evas_object_color_get(obj, NULL, NULL, NULL, &a);
if (a > 0)
{
@ -112,12 +112,12 @@ _e_comp_visible_object_is(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coo
else
{
Eina_List *children;
if ((children = evas_object_smart_members_get(obj)))
{
Eina_List *l;
Evas_Object *o;
EINA_LIST_FOREACH(children, l, o)
{
if (_e_comp_visible_object_is(o, x, y, w, h))
@ -144,7 +144,7 @@ static Eina_Bool
_e_comp_visible_object_is_above(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h)
{
Evas_Object *above;
for (above = evas_object_above_get(obj); above;
above = evas_object_above_get(above))
{

@ -615,7 +615,7 @@ e_comp_canvas_update(void)
{
zone = NULL;
printf("@ match screens %p[%i] = %i %i %ix%i -- %i\n",
printf("@ match screens %p[%i] = %i %i %ix%i -- %i\n",
scr, scr->escreen, scr->x, scr->y, scr->w, scr->h, scr->escreen);
EINA_LIST_FOREACH(zones, ll, zone)
{

@ -612,7 +612,7 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
((name) && (m->name) && (!e_util_glob_match(name, m->name))))
continue;
if (!_e_comp_object_shadow_client_match(cw->ec, m)) continue;
focus = m->focus;
urgent = m->urgent;
no_shadow = m->no_shadow;
@ -1477,7 +1477,7 @@ _e_comp_intercept_stack_helper(E_Comp_Object *cw, Evas_Object *stack, E_Comp_Obj
}
if (!o)
/* top client layer window hasn't been stacked yet. this probably shouldn't happen?
* return here since the top client layer window
* return here since the top client layer window
*/
{
E_Client *ec;
@ -2761,7 +2761,7 @@ _e_comp_object_util_show(void *data EINA_UNUSED, Evas_Object *obj)
}
else
e_comp_shape_queue();
evas_object_show(obj);
if (ref && (!stopping))
{

@ -3321,7 +3321,7 @@ e_comp_wl_output_init(const char *id, const char *make, const char *model,
e_comp_wl->outputs = eina_list_append(e_comp_wl->outputs, output);
output->global =
output->global =
wl_global_create(e_comp_wl->wl.disp, &wl_output_interface,
2, output, _e_comp_wl_cb_output_bind);

@ -462,7 +462,7 @@ linux_dmabuf_buffer_get_user_data(struct linux_dmabuf_buffer *buffer)
return buffer->user_data;
}
static const struct zwp_linux_dmabuf_v1_interface linux_dmabuf_implementation =
static const struct zwp_linux_dmabuf_v1_interface linux_dmabuf_implementation =
{
linux_dmabuf_destroy,
linux_dmabuf_create_params

@ -416,7 +416,7 @@ _e_comp_x_client_new_helper(E_Client *ec)
ec->comp_data->ph = ec->h;
}
ec->changes.size = 1;
e_pixmap_visual_cmap_set(ec->pixmap, ec->comp_data->initial_attributes.visual, ec->comp_data->initial_attributes.colormap);
if (ec->override && (!ec->internal))
@ -613,7 +613,7 @@ _e_comp_x_client_new_helper(E_Client *ec)
deskxy[1]);
if (desk) e_client_desk_set(ec, desk);
}
}
@ -758,7 +758,7 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
parent = ec->e.state.video_parent_client;
twin = _e_comp_x_client_window_get(parent);
ecore_x_window_move(twin,
parent->client.x +
parent->client.x +
ec->e.state.video_position.x,
parent->client.y +
ec->e.state.video_position.y);
@ -806,7 +806,7 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
ec->netwm.sync.serial++);
}
}
if (ec->post_move || ec->post_resize)
_e_comp_x_client_move_resize_send(ec);
}
@ -1817,7 +1817,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
y = ev->y;
}
}
if ((ev->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_W) ||
(ev->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H))
{
@ -1826,7 +1826,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
if (ev->value_mask & ECORE_X_WINDOW_CONFIGURE_MASK_H)
h = ev->h, _e_comp_x_client_data_get(ec)->initial_attributes.h = ev->h;
}
e_comp_object_frame_xy_adjust(ec->frame, x, y, &x, &y);
e_comp_object_frame_wh_adjust(ec->frame, w, h, &w, &h);
@ -3257,7 +3257,7 @@ _e_comp_x_grab_replay(void *data EINA_UNUSED, int type, void *event)
E_Client *ec;
if (type != ECORE_EVENT_MOUSE_BUTTON_DOWN) return ECORE_CALLBACK_DONE;
if ((!e_config->pass_click_on) &&
if ((!e_config->pass_click_on) &&
(!e_config->always_click_to_raise) && // this works even if not on click-to-focus
(!e_config->always_click_to_focus) // this works even if not on click-to-focus
)
@ -3588,7 +3588,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
ec->icccm.name = eina_stringshare_add(nname);
ec->icccm.class = eina_stringshare_add(nclass);
ec->hacks.mapping_change =
((!e_util_strcasecmp(ec->icccm.class, "vmplayer")) ||
((!e_util_strcasecmp(ec->icccm.class, "vmplayer")) ||
(!e_util_strcasecmp(ec->icccm.class, "vmware")));
if (ec->hacks.mapping_change)
_e_comp_x_mapping_change_disabled++;
@ -4535,7 +4535,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
{
E_Exec_Instance *inst;
if (((!ec->lock_border) || (!ec->border.name)) &&
if (((!ec->lock_border) || (!ec->border.name)) &&
(ec->internal || cd->reparented))
{
ec->border.changed = 1;

@ -75,7 +75,7 @@ _output_screen_get(Ecore_X_Window root, Ecore_X_Randr_Output o)
static Ecore_X_Randr_Edid_Display_Interface_Type
_output_conn_type_get(Ecore_X_Window root, Ecore_X_Randr_Output o)
{
// get what kind of connector (hdmi, dvi, displayport etc.) - vga is
// get what kind of connector (hdmi, dvi, displayport etc.) - vga is
Ecore_X_Randr_Edid_Display_Interface_Type type;
unsigned long len = 0;
unsigned char *edid = ecore_x_randr_output_edid_get(root, o, &len);

@ -1,7 +1,7 @@
#ifdef E_TYPEDEFS
/** \def E_CONFIG_DD_NEW(str, typ)
* is used to create definition of a struct
* is used to create definition of a struct
* \str str name to give to struct
* \typ typ the actual struct type
*/
@ -9,7 +9,7 @@
e_config_descriptor_new(str, sizeof(typ))
/** \def E_CONFIG_DD_FREE(eed)
* is used to free definition of a struct
* is used to free definition of a struct
* \eed eed the pointer created by \link #E_CONFIG_DD_NEW
*/
#define E_CONFIG_DD_FREE(eed) if (eed) { e_config_descriptor_free((eed)); (eed) = NULL; }
@ -19,7 +19,7 @@
/** \def E_CONFIG_LIST(edd, type, member, eddtype)
* declares a struct member to be included definition
* list type must be Evas_List and not Ecore_List
* list type must be Evas_List and not Ecore_List
* \edd edd the pointer created by \link #E_CONFIG_DD_NEW
* \type type struct type
* \member member member of struct
@ -29,7 +29,7 @@
/** \def E_CONFIG_HASH(edd, type, member, eddtype)
* declares a struct member to be included definition
* list type must be Evas_Hash and not Ecore_Hash
* list type must be Evas_Hash and not Ecore_Hash
* \edd edd the pointer created by \link #E_CONFIG_DD_NEW
* \type type struct type
* \member member member of struct

@ -200,7 +200,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
cfd->dia->data = cfd;
e_dialog_title_set(cfd->dia, cfd->title);
cfdata = cfd->cfdata;
if (cfd->view->create_cfdata && (!cfd->cfdata))
if (cfd->view->create_cfdata && (!cfd->cfdata))
cfd->cfdata = cfd->view->create_cfdata(cfd);
evas = evas_object_evas_get(cfd->dia->win);

@ -5526,14 +5526,14 @@ _e_fm2_icon_next_find(Evas_Object *obj, int next, int (*match_func)(E_Fm2_Icon *
sd = evas_object_smart_data_get(obj);
if (!sd) return NULL;
if (!sd->icons) return NULL;
l = eina_list_data_find_list(sd->icons, (sd->range_selected) ?
sd->range_selected :
sd->last_selected);
if (!next) return eina_list_data_get(l);
if (!l) return (next == 1) ? eina_list_data_get(sd->icons) :
if (!l) return (next == 1) ? eina_list_data_get(sd->icons) :
eina_list_last_data_get(sd->icons);
view_mode = _e_fm2_view_mode_get(sd);
@ -5541,23 +5541,23 @@ _e_fm2_icon_next_find(Evas_Object *obj, int next, int (*match_func)(E_Fm2_Icon *
(view_mode == E_FM2_VIEW_MODE_CUSTOM_GRID_ICONS) ||
(view_mode == E_FM2_VIEW_MODE_CUSTOM_ICONS))
custom = 1;
ic_next = NULL;
if (custom || match_func)
{
ic = eina_list_data_get(l);
x = ic->x;
y = ic->y;
EINA_LIST_FOREACH(sd->icons, l, ic)
{
if (match_func && !match_func(ic, data)) continue;
int dx = (ic->x - x);
int dy = (ic->y - y);
int sgnx = (dx) ? dx / abs(dx) : 0;
if ((next == sgnx) && (abs(dx) >= abs(dy)))
{
dist = abs(dy) + abs(dx);
@ -5596,7 +5596,7 @@ _e_fm2_icon_sel_prev(Evas_Object *obj, Eina_Bool add)
{
_e_fm2_icon_range_select(ic_prev);
}
evas_object_smart_callback_call(obj, "selection_change", NULL);
_e_fm2_icon_make_visible(ic_prev);
}
@ -5607,7 +5607,7 @@ _e_fm2_icon_sel_next(Evas_Object *obj, Eina_Bool add)
E_Fm2_Icon *ic_next;
ic_next = _e_fm2_icon_next_find(obj, 1, NULL, NULL);
if (!ic_next) return;
if ((!add) || ic_next->sd->config->selection.single)
@ -5636,7 +5636,7 @@ _e_fm2_icon_sel_down(Evas_Object *obj, Eina_Bool add)
if (!sd->icons) return;
ic = (sd->range_selected) ? sd->range_selected : sd->last_selected;
if (ic)
{
ic_down = ic;
@ -5644,7 +5644,7 @@ _e_fm2_icon_sel_down(Evas_Object *obj, Eina_Bool add)
{
int dx = (ic2->x - ic->x);
int dy = (ic2->y - ic->y);
if ((dy > 0) && (abs(dy) > abs(dx)))
{
dist = abs(dx)+abs(dy);
@ -5656,11 +5656,11 @@ _e_fm2_icon_sel_down(Evas_Object *obj, Eina_Bool add)
}
}
}
else
else
{
ic_down = eina_list_data_get(sd->icons);
}
if ((!add) || ic_down->sd->config->selection.single)
{
_e_fm2_icon_desel_any(obj);
@ -5688,7 +5688,7 @@ _e_fm2_icon_sel_up(Evas_Object *obj, Eina_Bool add)
if (!sd->icons) return;
ic = (sd->range_selected) ? sd->range_selected : sd->last_selected;
if (ic)
{
ic_down = ic;
@ -5696,7 +5696,7 @@ _e_fm2_icon_sel_up(Evas_Object *obj, Eina_Bool add)
{
int dx = (ic2->x - ic->x);
int dy = (ic2->y - ic->y);
if ((dy < 0) && (abs(dy) > abs(dx)))
{
dist = abs(dx) + abs(dy);
@ -5713,7 +5713,7 @@ _e_fm2_icon_sel_up(Evas_Object *obj, Eina_Bool add)
{
ic_down = eina_list_last_data_get(sd->icons);
}
if ((!add) || ic_down->sd->config->selection.single)
{
_e_fm2_icon_desel_any(obj);
@ -5734,25 +5734,25 @@ _e_fm2_icon_range_select(E_Fm2_Icon *ic)
const Eina_List *l;
E_Fm2_Icon *ic2;
E_Fm2_Icon *last;
char view_mode = _e_fm2_view_mode_get(ic->sd);
if (!ic->sd->range_selected)
{
last = ic->sd->last_selected;
ic->sd->range_select_anchor = last;
ic->sd->range_select_anchor = last;
}
else
{
last = ic->sd->range_select_anchor;
}
_e_fm2_icon_desel_any(ic->sd->obj);
if ((!last) || (last == ic))
{
_e_fm2_icon_select(ic);
ic->sd->range_select_anchor = ic;
ic->sd->range_select_anchor = ic;
}
else if ((view_mode == E_FM2_VIEW_MODE_CUSTOM_SMART_GRID_ICONS) ||
(view_mode == E_FM2_VIEW_MODE_CUSTOM_GRID_ICONS) ||
@ -5762,7 +5762,7 @@ _e_fm2_icon_range_select(E_Fm2_Icon *ic)
int boundx = (ic->x < last->x) ? (last->x + last->w) : (ic->x + ic->w);
int topy = (ic->y <= last->y) ? ic->y : last->y;
int boundy = (ic->y < last->y) ? (last->y + last->h) : (ic->y + ic->h);
EINA_LIST_FOREACH(ic->sd->icons, l, ic2)
{
if ((ic2->x >= topx) && (ic2->x < boundx) &&
@ -5780,7 +5780,7 @@ _e_fm2_icon_range_select(E_Fm2_Icon *ic)
if (!trig) break;
}
}
ic->sd->range_selected = ic;
}

@ -1357,7 +1357,7 @@ _e_fm_ipc_timer_cb(void *d EINA_UNUSED)
ecore_ipc_server_send(_e_fm_ipc_server,
6 /*E_IPC_DOMAIN_FM*/,
E_FM_OP_VOLUME_LIST_DONE,
0, 0, 0, "", 1);
0, 0, 0, "", 1);
_init_timer_run = EINA_TRUE;
return EINA_FALSE;
}

@ -420,7 +420,7 @@ _e_fm_main_eeze_volume_add(const char *syspath,
if ((v2) && (v2->partition == 0))
_e_fm_main_eeze_volume_del(v2->udi);
}
s = e_storage_find(v->parent);
INF("++VOL:\n syspath: %s\n uuid: %s\n fstype: %s\n size: %llu\n label: %s\n"
" partition: %d\n partition_number: %d\n partition_label: %s\n mounted: %d\n mount_point: %s",
@ -542,7 +542,7 @@ _e_fm_main_eeze_volume_mount(E_Volume *v)
_e_fm_main_eeze_mount_point_set(v);
if (!v->mount_point) goto error;
INF("mount %s %s [fs type = %s]", v->udi, v->mount_point, v->fstype);
INF("mount %s %s [fs type = %s]", v->udi, v->mount_point, v->fstype);
eeze_disk_mountopts_set(v->disk, opts);
if (!eeze_disk_mount_wrapper_get(v->disk))
{
@ -716,27 +716,27 @@ _e_fm_main_eeze_init(void)
eeze_init();
eina_log_domain_level_set("eeze_disk", EINA_LOG_LEVEL_DBG);
eeze_mount_tabs_watch();
ecore_event_handler_add(EEZE_EVENT_DISK_MOUNT,
ecore_event_handler_add(EEZE_EVENT_DISK_MOUNT,
(Ecore_Event_Handler_Cb)_e_fm_main_eeze_cb_vol_mounted, NULL);
ecore_event_handler_add(EEZE_EVENT_DISK_UNMOUNT,
ecore_event_handler_add(EEZE_EVENT_DISK_UNMOUNT,
(Ecore_Event_Handler_Cb)_e_fm_main_eeze_cb_vol_unmounted, NULL);
ecore_event_handler_add(EEZE_EVENT_DISK_EJECT,
ecore_event_handler_add(EEZE_EVENT_DISK_EJECT,
(Ecore_Event_Handler_Cb)_e_fm_main_eeze_cb_vol_ejected, NULL);
ecore_event_handler_add(EEZE_EVENT_DISK_ERROR,
ecore_event_handler_add(EEZE_EVENT_DISK_ERROR,
(Ecore_Event_Handler_Cb)_e_fm_main_eeze_cb_vol_error, NULL);
ecore_event_handler_add(ECORE_EXE_EVENT_ADD,
ecore_event_handler_add(ECORE_EXE_EVENT_ADD,
(Ecore_Event_Handler_Cb)_scanner_add, pfx);
ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
(Ecore_Event_Handler_Cb)_scanner_del, pfx);
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ADD,
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ADD,
(Ecore_Event_Handler_Cb)_scanner_con, NULL);
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DEL,
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DEL,
(Ecore_Event_Handler_Cb)_scanner_disc, NULL);
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DATA,
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DATA,
(Ecore_Event_Handler_Cb)_scanner_data, NULL);
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ERROR,
ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ERROR,
(Ecore_Event_Handler_Cb)_scanner_err, NULL);
eet_setup();

@ -143,7 +143,7 @@ _e_fm_main_udisks2_volume_block_add(E_Volume *v, U2_Block *u2)
eina_stringshare_replace(&v->fstype, u2->IdType);
eina_stringshare_replace(&v->label, u2->IdLabel);
if (!v->label) v->label = eina_stringshare_ref(u2->HintName);
}
static void
@ -886,7 +886,7 @@ _volume_eject_umount_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *p
vols_ejecting = eina_list_remove(vols_ejecting, v);
_volume_eject(v->storage->proxy);
}
}
static Eldbus_Pending *

@ -9,7 +9,7 @@ static Eina_Bool _e_focus_raise_timer(void *data);
E_API void
e_focus_event_mouse_in(E_Client *ec)
{
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
(e_config->focus_policy == E_FOCUS_SLOPPY))
{

@ -2817,7 +2817,7 @@ _editor_pointer_button(Gadget_Item *active, int t EINA_UNUSED, Ecore_Event_Mouse
{
E_Gadget_Config *zgc, *z;
Eina_List *l;
if (ev->buttons == 1)
{
EINA_LIST_FOREACH(sites->sites, l, zgs)
@ -2856,7 +2856,7 @@ _editor_pointer_button(Gadget_Item *active, int t EINA_UNUSED, Ecore_Event_Mouse
evas_object_smart_callback_call(zzgs->layout, "gadget_site_dropped", pointer_site);
_gadget_free(zgc);
}
}
E_FREE_FUNC(pointer_site, evas_object_del);
return ECORE_CALLBACK_RENEW;

@ -263,7 +263,7 @@ action_request(void *data, Evas_Object *obj, void *event_info)
h = eina_hash_pointer_new((Eina_Free_Cb)_ar_bind_del);
eina_hash_add(display_actions, &d, h);
}
ar_bind = action_route_bind_action(ar_global, action);
action_route_bind_add_listener(ar_bind, &_ar_bind_interface, ga);
wl_display_roundtrip(ecore_wl2_display_get(d));

@ -153,7 +153,7 @@ e_hints_init(Ecore_Window root, Ecore_Window propwin)
for (;; )
{
Ecore_X_Window selfwin = 0;
/* check that supporting wm win points to itself to be valid */
nwins = ecore_x_window_prop_window_get(twin,
ECORE_X_ATOM_NET_SUPPORTING_WM_CHECK,
@ -365,7 +365,7 @@ e_hints_client_stacking_set(void)
break;
}
}
if (i < c - non_x)
{
#ifdef CLIENT_STACK_DEBUG

Loading…
Cancel
Save