forked from enlightenment/efl
elementary: fix compilation of efl_selection_manager on windows
Test Plan: compilation Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5751 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
520821e432
commit
0623618f73
|
@ -4128,7 +4128,7 @@ _win32_efl_sel_manager_selection_get(const Efl_Object *request,
|
||||||
int size;
|
int size;
|
||||||
|
|
||||||
if (type != EFL_SELECTION_TYPE_CLIPBOARD)
|
if (type != EFL_SELECTION_TYPE_CLIPBOARD)
|
||||||
return;
|
return EINA_FALSE;
|
||||||
|
|
||||||
seat_sel = _sel_manager_seat_selection_init(pd, seat);
|
seat_sel = _sel_manager_seat_selection_init(pd, seat);
|
||||||
sel = seat_sel->sel_list + type;
|
sel = seat_sel->sel_list + type;
|
||||||
|
@ -4177,8 +4177,8 @@ _win32_efl_sel_manager_selection_get(const Efl_Object *request,
|
||||||
|
|
||||||
sdata.pos.x = sdata.pos.y = 0;
|
sdata.pos.x = sdata.pos.y = 0;
|
||||||
sdata.format = EFL_SELECTION_FORMAT_TEXT;
|
sdata.format = EFL_SELECTION_FORMAT_TEXT;
|
||||||
sdata.data.mem = data;
|
sdata.content.mem = data;
|
||||||
sdata.data.len = size;
|
sdata.content.len = size;
|
||||||
sdata.action = sel->action;
|
sdata.action = sel->action;
|
||||||
sel->data_func(sel->data_func_data, sel->request_obj, &sdata);
|
sel->data_func(sel->data_func_data, sel->request_obj, &sdata);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue