Browse Source

Updated to build with e19, patch by Wido.

master
maxerba 8 years ago
parent
commit
5696b89468
  1. 4
      src/e_mod_config.c
  2. 2
      src/e_mod_main.c
  3. 2
      src/e_mod_main.h

4
src/e_mod_config.c

@ -17,7 +17,7 @@ static int _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
/* External Functions */
E_Config_Dialog *
e_int_config_diskio_module(E_Container *con, Config_Item *ci)
e_int_config_diskio_module(E_Comp *comp, Config_Item *ci)
{
E_Config_Dialog *cfd = NULL;
E_Config_Dialog_View *v = NULL;
@ -38,7 +38,7 @@ e_int_config_diskio_module(E_Container *con, Config_Item *ci)
snprintf(buf, sizeof(buf), "%s/e-module-diskio.edj", diskio_conf->module->dir);
/* create new config dialog */
cfd = e_config_dialog_new(con, "DiskIO Module", "DiskIO",
cfd = e_config_dialog_new(NULL, D_("DiskIO Module"), "DiskIO",
"_e_module_diskio_cfg_dlg", buf, 0, v, ci);
e_dialog_resizable_set(cfd->dia, 1);

2
src/e_mod_main.c

@ -509,5 +509,5 @@ _diskio_cb_menu_configure(void *data, E_Menu *mn, E_Menu_Item *mi)
if (!inst) return;
if (!diskio_conf) return;
if (diskio_conf->cfd) return;
e_int_config_diskio_module(mn->zone->container, inst->conf_item);
e_int_config_diskio_module(mn->zone->comp, inst->conf_item);
}

2
src/e_mod_main.h

@ -61,7 +61,7 @@ EAPI int e_modapi_shutdown(E_Module *m);
EAPI int e_modapi_save(E_Module *m);
/* Function for calling the modules config dialog */
E_Config_Dialog *e_int_config_diskio_module(E_Container *con, Config_Item *ci);
E_Config_Dialog *e_int_config_diskio_module(E_Comp *comp, Config_Item *ci);
extern Config *diskio_conf;

Loading…
Cancel
Save