Change-Id: I601cc1f192bc127b1ae4432c1a64c69592403f3a
}
}
-static void _conformant_area_free (void *data EINA_UNUSED, void *ev)
-{
- Ecore_Wl2_Event_Conformant_Change *e = ev;
- free(e);
- e = NULL;
-}
-
static void add_conformant_change_event(Ecore_Wl2_Window *window)
{
Ecore_Wl2_Event_Conformant_Change *ev;
ev->win = ecore_wl2_window_id_get(window);
ev->part_type = 1;
ev->state = 0;
- ecore_event_add(ECORE_WL2_EVENT_CONFORMANT_CHANGE, ev, _conformant_area_free, NULL);
+ ecore_event_add(ECORE_WL2_EVENT_CONFORMANT_CHANGE, ev, NULL, NULL);
}
}