raster pushed a commit to branch master.

commit 2364f4514b3d14a89f76523b3746d7d991260c99
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Apr 8 20:08:43 2013 +0900

    evas device new/free -> add/del (new 1.8 api so no log).
---
 src/lib/evas/Evas.h               | 4 ++--
 src/lib/evas/canvas/evas_device.c | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h
index a56042e..900836e 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);
 /**
  * @since 1.8
  */
-EAPI Evas_Device *evas_device_new(Evas *e);
+EAPI Evas_Device *evas_device_add(Evas *e);
 
 /**
  * @since 1.8
  */
-EAPI void evas_device_free(Evas_Device *dev);
+EAPI void evas_device_del(Evas_Device *dev);
    
 /**
  * @since 1.8
diff --git a/src/lib/evas/canvas/evas_device.c 
b/src/lib/evas/canvas/evas_device.c
index 8569bd5..8c2b2e9 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -2,7 +2,7 @@
 #include "evas_private.h"
 
 EAPI Evas_Device *
-evas_device_new(Evas *eo_e)
+evas_device_add(Evas *eo_e)
 {
    Evas_Device *dev;
    
@@ -21,7 +21,7 @@ evas_device_new(Evas *eo_e)
 }
 
 EAPI void
-evas_device_free(Evas_Device *dev)
+evas_device_del(Evas_Device *dev)
 {
    MAGIC_CHECK(dev, Evas_Device, MAGIC_DEV);
    return;
@@ -33,7 +33,7 @@ evas_device_free(Evas_Device *dev)
         EINA_LIST_FREE(dev->children, dev2)
           {
              dev2->parent = NULL;
-             evas_device_free(dev2);
+             evas_device_del(dev2);
           }
         if (dev->src)
           {
@@ -224,7 +224,7 @@ _evas_device_cleanup(Evas *eo_e)
      }
    EINA_LIST_FREE(e->devices, dev)
      {
-        evas_device_free(dev);
+        evas_device_del(dev);
      }
 }
 

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to