Enlightenment CVS committal Author : englebass Project : e_modules Module : tclock
Dir : e_modules/tclock Modified Files: e_mod_main.c Log Message: Redo changes not realted to gadcon. =================================================================== RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -3 -r1.54 -r1.55 --- e_mod_main.c 2 Dec 2007 16:37:00 -0000 1.54 +++ e_mod_main.c 2 Dec 2007 16:53:52 -0000 1.55 @@ -107,8 +107,7 @@ check_timer = NULL; } - free (inst); - inst = NULL; + E_FREE (inst); } static void @@ -183,7 +182,7 @@ e_util_zone_current_get (e_manager_current_get ()), x + ev->output.x, y + ev->output.y, 1, 1, - E_MENU_POP_DIRECTION_DOWN, ev->timestamp); + E_MENU_POP_DIRECTION_AUTO, ev->timestamp); evas_event_feed_mouse_up (inst->gcc->gadcon->evas, ev->button, EVAS_BUTTON_NONE, ev->timestamp, NULL); } @@ -407,12 +406,10 @@ evas_stringshare_del (ci->time_format); if (ci->date_format) evas_stringshare_del (ci->date_format); - free (ci); - ci = NULL; + E_FREE (ci); } - free (tclock_config); - tclock_config = NULL; + E_FREE (tclock_config); E_CONFIG_DD_FREE (conf_item_edd); E_CONFIG_DD_FREE (conf_edd); return 1; ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs