use E_NEW & E_FREE macros

SVN revision: 40680
This commit is contained in:
Christopher Michael 2009-05-15 18:11:41 +00:00
parent 3f11b601c6
commit 6fd36aa8b4
1 changed files with 2 additions and 2 deletions

View File

@ -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