Remove useless mod_dir variable (and associated code).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84201
This commit is contained in:
Christopher Michael 2013-02-19 10:59:15 +00:00 committed by Christopher Michael
parent 3f283a62a2
commit 7df8dddb23
1 changed files with 0 additions and 10 deletions

View File

@ -2,9 +2,6 @@
#include "e_mod_main.h"
#include "e_int_config_randr.h"
/* external variables */
const char *mod_dir = NULL;
EAPI E_Module_Api e_modapi =
{
E_MODULE_API_VERSION, "Settings - Screen Setup"
@ -26,9 +23,6 @@ e_modapi_init(E_Module *m)
"preferences-system-screen-resolution",
e_int_config_randr);
/* store the modules working directory for use later */
mod_dir = eina_stringshare_add(m->dir);
{
E_Configure_Option *co;
@ -53,10 +47,6 @@ e_modapi_shutdown(E_Module *m __UNUSED__)
while ((cfd = e_config_dialog_get("E", "screen/screen_setup")))
e_object_del(E_OBJECT(cfd));
/* free module working directory */
if (mod_dir) eina_stringshare_del(mod_dir);
mod_dir = NULL;
/* remove randr dialog from the configuration category */
e_configure_registry_item_del("screen/screen_setup");