delete action when unloading module!

SVN revision: 60262
This commit is contained in:
Carsten Haitzler 2011-06-13 08:05:26 +00:00
parent f92222a2d2
commit ac920f6db3
1 changed files with 6 additions and 0 deletions

View File

@ -639,6 +639,12 @@ e_modapi_init(E_Module *m)
EAPI int
e_modapi_shutdown(E_Module *m __UNUSED__)
{
if (act)
{
e_action_predef_name_del(_("Clock"), _("Show calendar"));
e_action_del("clock");
act = NULL;
}
if (clock_config)
{
e_object_del(E_OBJECT(clock_config));