Evas_Device: Use efl_del() in evas_device_del().
authorGuilherme Iscaro <iscaro@profusion.mobi>
Tue, 20 Sep 2016 17:49:57 +0000 (14:49 -0300)
committerBruno Dilly <bdilly@profusion.mobi>
Tue, 27 Sep 2016 01:06:59 +0000 (22:06 -0300)
The Evas_Input_Device should be have its parent set to NULL, otherwise
Eo might complain.

@fix

src/lib/evas/canvas/evas_device.c

index 598cee1..a485cb8 100644 (file)
@@ -82,7 +82,7 @@ evas_device_del(Evas_Device *dev)
 {
    SAFETY_CHECK(dev, EFL_INPUT_DEVICE_CLASS);
 
-   efl_unref(dev);
+   efl_del(dev);
 }
 
 EAPI void