projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f11b60
)
use E_NEW & E_FREE macros
author
Christopher Michael
<cpmichael1@comcast.net>
Fri, 15 May 2009 18:11:41 +0000
(18:11 +0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Fri, 15 May 2009 18:11:41 +0000
(18:11 +0000)
SVN revision: 40680
src/bin/e_pan.c
patch
|
blob
|
history
diff --git
a/src/bin/e_pan.c
b/src/bin/e_pan.c
index
439c93c
..
ccb9315
100644
(file)
--- a/
src/bin/e_pan.c
+++ b/
src/bin/e_pan.c
@@
-171,7
+171,7
@@
_e_smart_add(Evas_Object *obj)
{
E_Smart_Data *sd;
- sd =
calloc(1, sizeof(E_Smart_Data)
);
+ sd =
E_NEW(fSmart_Data, 1
);
if (!sd) return;
sd->smart_obj = obj;
sd->x = 0;
@@
-186,7
+186,7
@@
_e_smart_del(Evas_Object *obj)
{
INTERNAL_ENTRY;
e_pan_child_set(obj, NULL);
-
free
(sd);
+
E_FREE
(sd);
}
static void