summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-08 20:08:43 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-08 20:10:06 +0900
commit2364f4514b3d14a89f76523b3746d7d991260c99 (patch)
tree189204cb346b9d7702eda44dbeb2232eecd75c50 /src/lib/evas
parent21c2209de82a1c50a31e76bb3decc4ea4d4e9303 (diff)
evas device new/free -> add/del (new 1.8 api so no log).
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/Evas.h4
-rw-r--r--src/lib/evas/canvas/evas_device.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index a56042e285..900836e533 100644
--- a/src/lib/evas/Evas.h
+++ b/src/lib/evas/Evas.h
@@ -4107,12 +4107,12 @@ EAPI void evas_event_thaw_eval(Evas *e) EINA_ARG_NONNULL(1);
4107/** 4107/**
4108 * @since 1.8 4108 * @since 1.8
4109 */ 4109 */
4110EAPI Evas_Device *evas_device_new(Evas *e); 4110EAPI Evas_Device *evas_device_add(Evas *e);
4111 4111
4112/** 4112/**
4113 * @since 1.8 4113 * @since 1.8
4114 */ 4114 */
4115EAPI void evas_device_free(Evas_Device *dev); 4115EAPI void evas_device_del(Evas_Device *dev);
4116 4116
4117/** 4117/**
4118 * @since 1.8 4118 * @since 1.8
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index 8569bd5d02..8c2b2e95b5 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -2,7 +2,7 @@
2#include "evas_private.h" 2#include "evas_private.h"
3 3
4EAPI Evas_Device * 4EAPI Evas_Device *
5evas_device_new(Evas *eo_e) 5evas_device_add(Evas *eo_e)
6{ 6{
7 Evas_Device *dev; 7 Evas_Device *dev;
8 8
@@ -21,7 +21,7 @@ evas_device_new(Evas *eo_e)
21} 21}
22 22
23EAPI void 23EAPI void
24evas_device_free(Evas_Device *dev) 24evas_device_del(Evas_Device *dev)
25{ 25{
26 MAGIC_CHECK(dev, Evas_Device, MAGIC_DEV); 26 MAGIC_CHECK(dev, Evas_Device, MAGIC_DEV);
27 return; 27 return;
@@ -33,7 +33,7 @@ evas_device_free(Evas_Device *dev)
33 EINA_LIST_FREE(dev->children, dev2) 33 EINA_LIST_FREE(dev->children, dev2)
34 { 34 {
35 dev2->parent = NULL; 35 dev2->parent = NULL;
36 evas_device_free(dev2); 36 evas_device_del(dev2);
37 } 37 }
38 if (dev->src) 38 if (dev->src)
39 { 39 {
@@ -224,7 +224,7 @@ _evas_device_cleanup(Evas *eo_e)
224 } 224 }
225 EINA_LIST_FREE(e->devices, dev) 225 EINA_LIST_FREE(e->devices, dev)
226 { 226 {
227 evas_device_free(dev); 227 evas_device_del(dev);
228 } 228 }
229} 229}
230 230