Add UNUSED.

Fix formatting.



SVN revision: 51440
devs/princeamd/enlightenment-0.17-elive
Christopher Michael 13 years ago
parent bbd4a538c4
commit 3e34e7e2e1
  1. 4
      src/modules/conf_paths/e_int_config_paths.c
  2. 16
      src/modules/conf_paths/e_mod_main.c

@ -99,7 +99,7 @@ _create_data(E_Config_Dialog *cfd)
}
static void
_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
{
while (cfdata->pcd_list)
{
@ -124,7 +124,7 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
}
static int
_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
_basic_apply_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
{
Eina_List *l;
Eina_List *ll;

@ -14,18 +14,24 @@ EAPI E_Module_Api e_modapi =
EAPI void *
e_modapi_init(E_Module *m)
{
e_configure_registry_category_add("advanced", 80, _("Advanced"), NULL, "preferences-advanced");
e_configure_registry_item_add("advanced/search_directories", 50, _("Search Directories"), NULL, "preferences-directories", e_int_config_paths);
e_configure_registry_category_add("advanced", 80, _("Advanced"), NULL,
"preferences-advanced");
e_configure_registry_item_add("advanced/search_directories", 50,
_("Search Directories"), NULL,
"preferences-directories",
e_int_config_paths);
conf_module = m;
e_module_delayed_set(m, 1);
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
e_modapi_shutdown(E_Module *m __UNUSED__)
{
E_Config_Dialog *cfd;
while ((cfd = e_config_dialog_get("E", "advanced/search_directories"))) e_object_del(E_OBJECT(cfd));
while ((cfd = e_config_dialog_get("E", "advanced/search_directories")))
e_object_del(E_OBJECT(cfd));
e_configure_registry_item_del("advanced/search_directories");
e_configure_registry_category_del("advanced");
conf_module = NULL;
@ -33,7 +39,7 @@ e_modapi_shutdown(E_Module *m)
}
EAPI int
e_modapi_save(E_Module *m)
e_modapi_save(E_Module *m __UNUSED__)
{
return 1;
}

Loading…
Cancel
Save