summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Iscaro <iscaro@profusion.mobi>2016-09-29 17:51:14 -0300
committerBruno Dilly <bdilly@profusion.mobi>2016-09-29 17:51:15 -0300
commit50f5704cc6b95ed30b25c668e2fc1679a4131279 (patch)
tree9e1b3ad7530dfd7a84aabccfa016064ae548bf85
parent1a2014a12234593f4ba27f2f76f87dc481447e7c (diff)
Evas_Device: Fix API name.
Summary: It should be evas_device_add_full() in order to follow the EFL name pattern. Reviewers: DaveMDS, bdilly Reviewed By: DaveMDS, bdilly Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4325
-rw-r--r--src/lib/evas/Evas_Common.h4
-rw-r--r--src/lib/evas/canvas/evas_device.c4
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c12
3 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index ddc15df..902aca0 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -1126,7 +1126,7 @@ EAPI void evas_render_updates_free(Eina_List *updates);
1126 * @return the device node created or NULL if an error occurred. 1126 * @return the device node created or NULL if an error occurred.
1127 * 1127 *
1128 * @see evas_device_del 1128 * @see evas_device_del
1129 * @see evas_device_full_add 1129 * @see evas_device_add_full
1130 * @since 1.8 1130 * @since 1.8
1131 */ 1131 */
1132EAPI Evas_Device *evas_device_add(Evas *e); 1132EAPI Evas_Device *evas_device_add(Evas *e);
@@ -1151,7 +1151,7 @@ EAPI Evas_Device *evas_device_add(Evas *e);
1151 * @see evas_device_del 1151 * @see evas_device_del
1152 * @since 1.19 1152 * @since 1.19
1153 */ 1153 */
1154EAPI Evas_Device *evas_device_full_add(Evas *eo_e, const char *name, 1154EAPI Evas_Device *evas_device_add_full(Evas *eo_e, const char *name,
1155 const char *desc, 1155 const char *desc,
1156 Evas_Device *parent_dev, 1156 Evas_Device *parent_dev,
1157 Evas_Device *emulation_dev, 1157 Evas_Device *emulation_dev,
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index a485cb8..bea2ad7 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -38,13 +38,13 @@ _del_cb(void *data, const Efl_Event *ev)
38EAPI Evas_Device * 38EAPI Evas_Device *
39evas_device_add(Evas *eo_e) 39evas_device_add(Evas *eo_e)
40{ 40{
41 return evas_device_full_add(eo_e, NULL, NULL, NULL, NULL, 41 return evas_device_add_full(eo_e, NULL, NULL, NULL, NULL,
42 EVAS_DEVICE_CLASS_NONE, 42 EVAS_DEVICE_CLASS_NONE,
43 EVAS_DEVICE_SUBCLASS_NONE); 43 EVAS_DEVICE_SUBCLASS_NONE);
44} 44}
45 45
46EAPI Evas_Device * 46EAPI Evas_Device *
47evas_device_full_add(Evas *eo_e, const char *name, const char *desc, 47evas_device_add_full(Evas *eo_e, const char *name, const char *desc,
48 Evas_Device *parent_dev, Evas_Device *emulation_dev, 48 Evas_Device *parent_dev, Evas_Device *emulation_dev,
49 Evas_Device_Class clas, Evas_Device_Subclass sub_clas) 49 Evas_Device_Class clas, Evas_Device_Subclass sub_clas)
50{ 50{
diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 75e391e..b8ece81 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -5359,18 +5359,18 @@ _ecore_evas_x11_vnc_client_connection_new(rfbClientRec *client)
5359 5359
5360 snprintf(buf, sizeof(buf), "seat-%u", _available_seat); 5360 snprintf(buf, sizeof(buf), "seat-%u", _available_seat);
5361 5361
5362 cdata->seat = evas_device_full_add(ee->evas, buf, 5362 cdata->seat = evas_device_add_full(ee->evas, buf,
5363 "A remote VNC seat", 5363 "A remote VNC seat",
5364 NULL, NULL, EVAS_DEVICE_CLASS_SEAT, 5364 NULL, NULL, EVAS_DEVICE_CLASS_SEAT,
5365 EVAS_DEVICE_SUBCLASS_NONE); 5365 EVAS_DEVICE_SUBCLASS_NONE);
5366 EINA_SAFETY_ON_NULL_GOTO(cdata->seat, err_handler); 5366 EINA_SAFETY_ON_NULL_GOTO(cdata->seat, err_handler);
5367 cdata->keyboard = evas_device_full_add(ee->evas, "Keyboard", 5367 cdata->keyboard = evas_device_add_full(ee->evas, "Keyboard",
5368 "A remote VNC keyboard", 5368 "A remote VNC keyboard",
5369 cdata->seat, NULL, 5369 cdata->seat, NULL,
5370 EVAS_DEVICE_CLASS_KEYBOARD, 5370 EVAS_DEVICE_CLASS_KEYBOARD,
5371 EVAS_DEVICE_SUBCLASS_NONE); 5371 EVAS_DEVICE_SUBCLASS_NONE);
5372 EINA_SAFETY_ON_NULL_GOTO(cdata->keyboard, err_dev); 5372 EINA_SAFETY_ON_NULL_GOTO(cdata->keyboard, err_dev);
5373 cdata->mouse = evas_device_full_add(ee->evas, "Mouse", 5373 cdata->mouse = evas_device_add_full(ee->evas, "Mouse",
5374 "A remote VNC mouse", 5374 "A remote VNC mouse",
5375 cdata->seat, NULL, 5375 cdata->seat, NULL,
5376 EVAS_DEVICE_CLASS_MOUSE, 5376 EVAS_DEVICE_CLASS_MOUSE,