forked from enlightenment/efl
ecore_evas_cocoa: remove dead code
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
a8c9c9a60e
commit
eba4ff041a
|
@ -239,32 +239,6 @@ _ecore_evas_cocoa_event_video_resize(void *data EINA_UNUSED, int type EINA_UNUSE
|
|||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_ecore_evas_cocoa_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
Ecore_Cocoa_Event_Window *e = event;
|
||||
Ecore_Evas *ee;
|
||||
int w;
|
||||
int h;
|
||||
|
||||
DBG("");
|
||||
|
||||
if (!e->wid)
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
|
||||
ee = _ecore_evas_cocoa_match(e->wid);
|
||||
|
||||
if (!ee)
|
||||
{
|
||||
ERR("Unregistered Ecore_Evas for window Id %p", e->wid);
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
evas_output_size_get(ee->evas, &w, &h);
|
||||
evas_damage_rectangle_add(ee->evas, 0, 0, w, h);
|
||||
|
||||
return ECORE_CALLBACK_PASS_ON;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_ecore_evas_cocoa_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue