summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_device.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-07 17:42:43 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-08 12:06:24 -0800
commit91b84fa2a8d2178fa1ef943da97a1c4bb45a2a4b (patch)
tree4839ee256007e2e42ad358a78fd3fb6b7027a4fc /src/lib/evas/canvas/evas_device.c
parent12e78b50593a60e97dffb5048eac182b24ed802e (diff)
evas: restore legacy types which were defined to eo types
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8245
Diffstat (limited to 'src/lib/evas/canvas/evas_device.c')
-rw-r--r--src/lib/evas/canvas/evas_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index 617e323..0d63194 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -50,7 +50,7 @@ _new_default_device_find(Evas_Public_Data *e, Evas_Device *old_dev)
50 50
51 EINA_LIST_FOREACH(e->devices, l, dev) 51 EINA_LIST_FOREACH(e->devices, l, dev)
52 { 52 {
53 if (efl_input_device_type_get(dev) != old_class) 53 if ((Evas_Device_Class)efl_input_device_type_get(dev) != old_class)
54 continue; 54 continue;
55 55
56 def = dev; 56 def = dev;
@@ -400,7 +400,7 @@ evas_device_class_set(Evas_Device *dev, Evas_Device_Class clas)
400 Efl_Input_Device_Data *d = efl_data_scope_get(dev, EFL_INPUT_DEVICE_CLASS); 400 Efl_Input_Device_Data *d = efl_data_scope_get(dev, EFL_INPUT_DEVICE_CLASS);
401 Evas_Public_Data *edata = efl_data_scope_get(d->evas, EVAS_CANVAS_CLASS); 401 Evas_Public_Data *edata = efl_data_scope_get(d->evas, EVAS_CANVAS_CLASS);
402 402
403 if (d->klass == clas) 403 if ((Evas_Device_Class)d->klass == clas)
404 return; 404 return;
405 405
406 if (_is_pointer(d->klass)) 406 if (_is_pointer(d->klass))