Fix warnings.

SVN revision: 30963
devs/princeamd/enlightenment-0.17-elive
Sebastian Dransfeld 16 years ago
parent b9fe0a3b9f
commit ad3761c9bd
  1. 4
      src/bin/e_configure.c
  2. 2
      src/bin/e_eap_editor.c
  3. 1
      src/bin/e_fm_mime.c
  4. 1
      src/bin/e_int_border_menu.c
  5. 2
      src/bin/e_int_config_clientlist.c
  6. 2
      src/bin/e_int_config_clientlist.h
  7. 2
      src/bin/e_int_config_desklock.c
  8. 2
      src/bin/e_int_config_desklock.h
  9. 2
      src/bin/e_int_config_desks.c
  10. 2
      src/bin/e_int_config_desks.h
  11. 2
      src/bin/e_int_config_dialogs.c
  12. 2
      src/bin/e_int_config_dialogs.h
  13. 2
      src/bin/e_int_config_display.c
  14. 2
      src/bin/e_int_config_display.h
  15. 2
      src/bin/e_int_config_dpms.c
  16. 2
      src/bin/e_int_config_dpms.h
  17. 2
      src/bin/e_int_config_exebuf.c
  18. 2
      src/bin/e_int_config_exebuf.h
  19. 2
      src/bin/e_int_config_focus.c
  20. 2
      src/bin/e_int_config_focus.h
  21. 2
      src/bin/e_int_config_keybindings.c
  22. 2
      src/bin/e_int_config_keybindings.h
  23. 2
      src/bin/e_int_config_menus.c
  24. 2
      src/bin/e_int_config_menus.h
  25. 2
      src/bin/e_int_config_mime.c
  26. 2
      src/bin/e_int_config_mime.h
  27. 4
      src/bin/e_int_config_modules.c
  28. 2
      src/bin/e_int_config_modules.h
  29. 2
      src/bin/e_int_config_mouse.c
  30. 2
      src/bin/e_int_config_mouse.h
  31. 2
      src/bin/e_int_config_mousebindings.c
  32. 2
      src/bin/e_int_config_mousebindings.h
  33. 2
      src/bin/e_int_config_paths.c
  34. 2
      src/bin/e_int_config_paths.h
  35. 2
      src/bin/e_int_config_performance.c
  36. 2
      src/bin/e_int_config_performance.h
  37. 2
      src/bin/e_int_config_screensaver.c
  38. 2
      src/bin/e_int_config_screensaver.h
  39. 2
      src/bin/e_int_config_shelf.c
  40. 2
      src/bin/e_int_config_shelf.h
  41. 2
      src/bin/e_int_config_window_display.c
  42. 2
      src/bin/e_int_config_window_display.h
  43. 2
      src/bin/e_int_config_window_manipulation.c
  44. 2
      src/bin/e_int_config_window_manipulation.h
  45. 2
      src/bin/e_int_config_winlist.c
  46. 2
      src/bin/e_int_config_winlist.h
  47. 2
      src/bin/e_main.c
  48. 10
      src/modules/conf_applications/e_int_config_apps.c
  49. 10
      src/modules/conf_applications/e_int_config_apps.h
  50. 2
      src/modules/conf_borders/e_int_config_borders.c
  51. 2
      src/modules/conf_borders/e_int_config_borders.h
  52. 2
      src/modules/conf_colors/e_int_config_color_classes.c
  53. 2
      src/modules/conf_colors/e_int_config_color_classes.h
  54. 14
      src/modules/conf_fonts/e_int_config_fonts.c
  55. 2
      src/modules/conf_fonts/e_int_config_fonts.h
  56. 2
      src/modules/conf_icon_theme/e_int_config_icon_themes.c
  57. 2
      src/modules/conf_icon_theme/e_int_config_icon_themes.h
  58. 3
      src/modules/conf_imc/e_int_config_imc.c
  59. 2
      src/modules/conf_imc/e_int_config_imc.h
  60. 3
      src/modules/conf_imc/e_int_config_imc_import.c
  61. 2
      src/modules/conf_intl/e_int_config_intl.c
  62. 2
      src/modules/conf_intl/e_int_config_intl.h
  63. 2
      src/modules/conf_mouse_cursor/e_int_config_cursor.c
  64. 2
      src/modules/conf_mouse_cursor/e_int_config_cursor.h
  65. 4
      src/modules/conf_profiles/e_int_config_profiles.c
  66. 2
      src/modules/conf_profiles/e_int_config_profiles.h
  67. 2
      src/modules/conf_startup/e_int_config_startup.c
  68. 2
      src/modules/conf_startup/e_int_config_startup.h
  69. 3
      src/modules/conf_theme/e_int_config_theme.c
  70. 2
      src/modules/conf_theme/e_int_config_theme.h
  71. 1
      src/modules/conf_theme/e_int_config_theme_import.c
  72. 2
      src/modules/conf_transitions/e_int_config_transitions.c
  73. 2
      src/modules/conf_transitions/e_int_config_transitions.h
  74. 4
      src/modules/conf_wallpaper/e_int_config_wallpaper.c
  75. 2
      src/modules/conf_wallpaper/e_int_config_wallpaper.h
  76. 36
      src/modules/pager/e_mod_main.c
  77. 5
      src/modules/temperature/e_mod_config.c

@ -161,7 +161,7 @@ e_configure_registry_item_del(const char *path)
EAPI void
e_configure_registry_category_add(const char *path, int pri, const char *label, const char *icon_file, const char *icon)
{
E_Configure_Cat *ecat, *ecat2;
E_Configure_Cat *ecat;
Evas_List *l;
ecat = E_NEW(E_Configure_Cat, 1);
@ -263,7 +263,7 @@ e_configure_registry_exists(const char *path)
/* path is "category/item" */
cat = ecore_file_get_dir(path);
if (!cat) return;
if (!cat) return 0;
item = ecore_file_get_file(path);
for (l = _e_configure_registry; l; l = l->next)
{

@ -765,8 +765,6 @@ _e_desktop_edit_cb_exec_select_cancel(void *data, E_Dialog *dia)
static void
_e_desktop_editor_exec_update(E_Config_Dialog_Data *cfdata)
{
Evas_Object *o;
if (!cfdata->editor->entry_widget) return;
e_widget_entry_text_set(cfdata->editor->entry_widget, cfdata->exec);

@ -6,7 +6,6 @@
/* local subsystem functions */
static Evas_Bool _e_fm_mime_icon_foreach(Evas_Hash *hash, const char *key, void *data, void *fdata);
static Evas_List *mimes = NULL;
static Evas_Hash *icon_map = NULL;
/* externally accessible functions */

@ -803,7 +803,6 @@ _e_border_menu_cb_border_pre(void *data, E_Menu *m, E_Menu_Item *mi)
E_Menu *subm;
E_Menu_Item *submi;
E_Border *bd;
Evas_Object *o;
Evas *evas;
bd = data;

@ -22,7 +22,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_clientlist(E_Container *con)
e_int_config_clientlist(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -22,7 +22,7 @@
#define E_CLIENTLIST_MAX_CAPTION_LEN 256
EAPI E_Config_Dialog *e_int_config_clientlist(E_Container *con);
EAPI E_Config_Dialog *e_int_config_clientlist(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -50,7 +50,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_desklock(E_Container *con)
e_int_config_desklock(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_DESKLOCK_H
#define E_INT_CONFIG_DESKLOCK_H
EAPI E_Config_Dialog *e_int_config_desklock(E_Container *con);
EAPI E_Config_Dialog *e_int_config_desklock(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -37,7 +37,7 @@ struct _E_Config_Dialog_Data
/* a nice easy setup function that does the dirty work */
EAPI E_Config_Dialog *
e_int_config_desks(E_Container *con)
e_int_config_desks(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_DESKS_H
#define E_INT_CONFIG_DESKS_H
EAPI E_Config_Dialog *e_int_config_desks(E_Container *con);
EAPI E_Config_Dialog *e_int_config_desks(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -17,7 +17,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_dialogs(E_Container *con)
e_int_config_dialogs(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_DIALOGS_H
#define E_INT_CONFIG_DIALOGS_H
EAPI E_Config_Dialog *e_int_config_dialogs(E_Container *con);
EAPI E_Config_Dialog *e_int_config_dialogs(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -225,7 +225,7 @@ _surebox_new(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
EAPI E_Config_Dialog *
e_int_config_display(E_Container *con)
e_int_config_display(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_DISPLAY_H
#define E_INT_CONFIG_DISPLAY_H
EAPI E_Config_Dialog *e_int_config_display(E_Container *con);
EAPI E_Config_Dialog *e_int_config_display(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -86,7 +86,7 @@ _e_int_config_dpms_available(void)
}
EAPI E_Config_Dialog *
e_int_config_dpms(E_Container *con)
e_int_config_dpms(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_DPMS_H
#define E_INT_CONFIG_DPMS_H
EAPI E_Config_Dialog *e_int_config_dpms(E_Container *con);
EAPI E_Config_Dialog *e_int_config_dpms(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -28,7 +28,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_exebuf(E_Container *con)
e_int_config_exebuf(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_EXEBUF_H
#define E_INT_CONFIG_EXEBUF_H
EAPI E_Config_Dialog *e_int_config_exebuf(E_Container *con);
EAPI E_Config_Dialog *e_int_config_exebuf(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -29,7 +29,7 @@ struct _E_Config_Dialog_Data
/* a nice easy setup function that does the dirty work */
EAPI E_Config_Dialog *
e_int_config_focus(E_Container *con)
e_int_config_focus(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_FOCUS_H
#define E_INT_CONFIG_FOCUS_H
EAPI E_Config_Dialog *e_int_config_focus(E_Container *con);
EAPI E_Config_Dialog *e_int_config_focus(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -76,7 +76,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_keybindings(E_Container *con)
e_int_config_keybindings(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_KEYBINDINGS_H
#define E_INT_CONFIG_KEYBINDINGS_H
EAPI E_Config_Dialog *e_int_config_keybindings(E_Container *con);
EAPI E_Config_Dialog *e_int_config_keybindings(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -25,7 +25,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_menus(E_Container *con)
e_int_config_menus(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_MENUS_H
#define E_INT_CONFIG_MENUS_H
EAPI E_Config_Dialog *e_int_config_menus(E_Container *con);
EAPI E_Config_Dialog *e_int_config_menus(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -48,7 +48,7 @@ static void _cb_config (void *data, void *data2);
Evas_List *types = NULL;
EAPI E_Config_Dialog *
e_int_config_mime(E_Container *con)
e_int_config_mime(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_MIME_H
#define E_INT_CONFIG_MIME_H
EAPI E_Config_Dialog *e_int_config_mime(E_Container *con);
EAPI E_Config_Dialog *e_int_config_mime(E_Container *con, const char *params __UNUSED__);
EAPI void e_int_config_mime_edit_done(void *data);
#endif

@ -40,7 +40,7 @@ static Evas_List *monitors = NULL;
Ecore_File_Monitor *mod_mon, *dir_mon;
EAPI E_Config_Dialog *
e_int_config_modules(E_Container *con)
e_int_config_modules(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
@ -196,7 +196,7 @@ _load_modules(E_Config_Dialog_Data *cfdata)
dirs = ecore_file_ls(epd->dir);
if (!dirs) continue;
ecore_list_goto_first(dirs);
while (mod = ecore_list_next(dirs))
while ((mod = ecore_list_next(dirs)))
{
E_Module *module;
char buf[4096];

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_MODULES_H
#define E_INT_CONFIG_MODULES_H
EAPI E_Config_Dialog *e_int_config_modules(E_Container *con);
EAPI E_Config_Dialog *e_int_config_modules(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -16,7 +16,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_mouse(E_Container *con)
e_int_config_mouse(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_MOUSE_H
#define E_INT_CONFIG_MOUSE_H
EAPI E_Config_Dialog *e_int_config_mouse(E_Container *con);
EAPI E_Config_Dialog *e_int_config_mouse(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -94,7 +94,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_mousebindings(E_Container *con)
e_int_config_mousebindings(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_MOUSEBINDINGS_H
#define E_INT_CONFIG_MOUSEBINDINGS_H
EAPI E_Config_Dialog *e_int_config_mousebindings(E_Container *con);
EAPI E_Config_Dialog *e_int_config_mousebindings(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -48,7 +48,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_paths(E_Container *con)
e_int_config_paths(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_PATHS_H
#define E_INT_CONFIG_PATHS_H
EAPI E_Config_Dialog *e_int_config_paths(E_Container *con);
EAPI E_Config_Dialog *e_int_config_paths(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -20,7 +20,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_performance(E_Container *con)
e_int_config_performance(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_PERFORMANCE_H
#define E_INT_CONFIG_PERFORMANCE_H
EAPI E_Config_Dialog *e_int_config_performance(E_Container *con);
EAPI E_Config_Dialog *e_int_config_performance(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -29,7 +29,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_screensaver(E_Container *con)
e_int_config_screensaver(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_SCREENSAVER_H
#define E_INT_CONFIG_SCREENSAVER_H
EAPI E_Config_Dialog *e_int_config_screensaver(E_Container *con);
EAPI E_Config_Dialog *e_int_config_screensaver(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -29,7 +29,7 @@ struct _Shelf_Del_Confirm_Data
EAPI E_Config_Dialog *
e_int_config_shelf(E_Container *con)
e_int_config_shelf(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_SHELF_H
#define E_INT_CONFIG_SHELF_H
EAPI E_Config_Dialog *e_int_config_shelf(E_Container *con);
EAPI E_Config_Dialog *e_int_config_shelf(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -34,7 +34,7 @@ struct _E_Config_Dialog_Data
/* a nice easy setup function that does the dirty work */
EAPI E_Config_Dialog *
e_int_config_window_display(E_Container *con)
e_int_config_window_display(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_WINDOW_DISPLAY_H
#define E_INT_CONFIG_WINDOW_DISPLAY_H
EAPI E_Config_Dialog *e_int_config_window_display(E_Container *con);
EAPI E_Config_Dialog *e_int_config_window_display(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -33,7 +33,7 @@ struct _E_Config_Dialog_Data
/* a nice easy setup function that does the dirty work */
EAPI E_Config_Dialog *
e_int_config_window_manipulation(E_Container *con)
e_int_config_window_manipulation(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_WINDOW_MANIPULATION_H
#define E_INT_CONFIG_WINDOW_MANIPULATION_H
EAPI E_Config_Dialog *e_int_config_window_manipulation(E_Container *con);
EAPI E_Config_Dialog *e_int_config_window_manipulation(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -36,7 +36,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_winlist(E_Container *con)
e_int_config_winlist(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_WINLIST_H
#define E_INT_CONFIG_WINLIST_H
EAPI E_Config_Dialog *e_int_config_winlist(E_Container *con);
EAPI E_Config_Dialog *e_int_config_winlist(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -858,7 +858,7 @@ main(int argc, char **argv)
e_module_all_load();
else
{
e_int_config_modules(e_container_current_get(e_manager_current_get()));
e_int_config_modules(e_container_current_get(e_manager_current_get()), NULL);
e_error_message_show
(_("Enlightenment crashed early on start and has<br>"
"been restarted. All modules have been disabled<br>"

@ -52,7 +52,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_apps_add(E_Container *con)
e_int_config_apps_add(E_Container *con, const char *params __UNUSED__)
{
E_Desktop_Edit *ed;
Efreet_Desktop *de = NULL;
@ -89,7 +89,7 @@ e_int_config_apps_add(E_Container *con)
}
EAPI E_Config_Dialog *
e_int_config_apps_favs(E_Container *con)
e_int_config_apps_favs(E_Container *con, const char *params __UNUSED__)
{
E_Config_Once *once;
char buf[4096];
@ -106,7 +106,7 @@ e_int_config_apps_favs(E_Container *con)
}
EAPI E_Config_Dialog *
e_int_config_apps_ibar(E_Container *con)
e_int_config_apps_ibar(E_Container *con, const char *params __UNUSED__)
{
E_Config_Once *once;
char buf[4096];
@ -139,7 +139,7 @@ e_int_config_apps_ibar_other(E_Container *con, const char *path)
}
EAPI E_Config_Dialog *
e_int_config_apps_startup(E_Container *con)
e_int_config_apps_startup(E_Container *con, const char *params __UNUSED__)
{
E_Config_Once *once;
char buf[4096];
@ -157,7 +157,7 @@ e_int_config_apps_startup(E_Container *con)
}
EAPI E_Config_Dialog *
e_int_config_apps_restart(E_Container *con)
e_int_config_apps_restart(E_Container *con, const char *params __UNUSED__)
{
E_Config_Once *once;
char buf[4096];

@ -3,12 +3,12 @@
#ifndef E_INT_CONFIG_APPS_H
#define E_INT_CONFIG_APPS_H
EAPI E_Config_Dialog *e_int_config_apps_favs(E_Container *con);
EAPI E_Config_Dialog *e_int_config_apps_add(E_Container *con);
EAPI E_Config_Dialog *e_int_config_apps_ibar(E_Container *con);
EAPI E_Config_Dialog *e_int_config_apps_favs(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_apps_add(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_apps_ibar(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_apps_ibar_other(E_Container *con, const char *path);
EAPI E_Config_Dialog *e_int_config_apps_startup(E_Container *con);
EAPI E_Config_Dialog *e_int_config_apps_restart(E_Container *con);
EAPI E_Config_Dialog *e_int_config_apps_startup(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_apps_restart(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -18,7 +18,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_borders(E_Container *con)
e_int_config_borders(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_BORDERS_H
#define E_INT_CONFIG_BORDERS_H
EAPI E_Config_Dialog *e_int_config_borders(E_Container *con);
EAPI E_Config_Dialog *e_int_config_borders(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_borders_border(E_Container *con, const char *params);
#endif

@ -105,7 +105,7 @@ static void _color3_cb_change (void *data, Evas_Object *obj);
static void _button_cb (void *data, void *data2);
EAPI E_Config_Dialog *
e_int_config_color_classes(E_Container *con)
e_int_config_color_classes(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_COLOR_CLASSES_H
#define E_INT_CONFIG_COLOR_CLASSES_H
EAPI E_Config_Dialog *e_int_config_color_classes(E_Container *con);
EAPI E_Config_Dialog *e_int_config_color_classes(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -16,7 +16,6 @@ static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E
static void _basic_font_cb_change(void *data, Evas_Object *obj);
static void _basic_enable_cb_change(void *data, Evas_Object *obj);
static void _basic_style_cb_change(void *data, Evas_Object *obj);
static void _basic_init_data_fill(E_Config_Dialog_Data *cfdata);
static void _adv_class_cb_change(void *data, Evas_Object *obj);
@ -148,7 +147,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_fonts(E_Container *con)
e_int_config_fonts(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
@ -472,17 +471,6 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
return ot;
}
static void
_basic_style_cb_change(void *data, Evas_Object *obj)
{
E_Config_Dialog_Data *cfdata;
cfdata = data;
if (!cfdata) return;
_font_preview_update(cfdata);
}
static void
_basic_font_cb_change(void *data, Evas_Object *obj)
{

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_FONTS_H
#define E_INT_CONFIG_FONTS_H
EAPI E_Config_Dialog *e_int_config_fonts(E_Container *con);
EAPI E_Config_Dialog *e_int_config_fonts(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -33,7 +33,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_icon_themes(E_Container *con)
e_int_config_icon_themes(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_ICON_THEMES_H
#define E_INT_CONFIG_ICON_THEMES_H
EAPI E_Config_Dialog *e_int_config_icon_themes(E_Container *con);
EAPI E_Config_Dialog *e_int_config_icon_themes(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -3,6 +3,7 @@
*/
#include "e.h"
#include "e_int_config_imc.h"
#include "e_int_config_imc_import.h"
typedef struct _E_Imc_Update_Data E_Imc_Update_Data;
@ -89,7 +90,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_imc(E_Container *con)
e_int_config_imc(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_IMC_H
#define E_INT_CONFIG_IMC_H
EAPI E_Config_Dialog *e_int_config_imc(E_Container *con);
EAPI E_Config_Dialog *e_int_config_imc(E_Container *con, const char *params __UNUSED__);
EAPI void e_int_config_imc_import_done(E_Config_Dialog *dia);
EAPI void e_int_config_imc_update(E_Config_Dialog *dia, const char *file);

@ -1,4 +1,5 @@
#include "e.h"
#include "e_int_config_imc.h"
typedef struct _Import Import;
@ -35,7 +36,7 @@ static void _imc_import_cb_key_down (void *data, Evas *e, Evas_Object *obj,
void *event);
EAPI E_Win *
e_int_config_imc_import(E_Config_Dialog *parent)
e_int_config_imc_import(E_Config_Dialog *parent)
{
Evas *evas;
E_Win *win;

@ -563,7 +563,7 @@ const E_Intl_Pair charset_predefined_pairs[ ] = {
EAPI E_Config_Dialog *
e_int_config_intl(E_Container *con)
e_int_config_intl(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_INTL_H
#define E_INT_CONFIG_INTL_H
EAPI E_Config_Dialog *e_int_config_intl(E_Container *con);
EAPI E_Config_Dialog *e_int_config_intl(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -16,7 +16,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_cursor(E_Container *con)
e_int_config_cursor(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_CURSOR_H
#define E_INT_CONFIG_CURSOR_H
EAPI E_Config_Dialog *e_int_config_cursor(E_Container *con);
EAPI E_Config_Dialog *e_int_config_cursor(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -1,6 +1,5 @@
#include "e.h"
EAPI E_Config_Dialog *e_int_config_profiles(E_Container *con);
static void *_create_data(E_Config_Dialog *cfd);
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
static Evas_Object *_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
@ -37,7 +36,7 @@ struct _Del_Profile_Confirm_Data
};
EAPI E_Config_Dialog *
e_int_config_profiles(E_Container *con)
e_int_config_profiles(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
@ -201,7 +200,6 @@ _cb_select(void *data, void *data2)
static void
_cb_delete(void *data, void *data2)
{
E_Config_Dialog_Data *cfdata;
Del_Profile_Confirm_Data *d;
char buf[4096];

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_PROFILES_H
#define E_INT_CONFIG_PROFILES_H
EAPI E_Config_Dialog *e_int_config_profiles(E_Container *con);
EAPI E_Config_Dialog *e_int_config_profiles(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -22,7 +22,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_startup(E_Container *con)
e_int_config_startup(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_STARTUP_H
#define E_INT_CONFIG_STARTUP_H
EAPI E_Config_Dialog *e_int_config_startup(E_Container *con);
EAPI E_Config_Dialog *e_int_config_startup(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -3,6 +3,7 @@
*/
#include "e.h"
#include "e_int_config_theme_import.h"
static void *_create_data (E_Config_Dialog *cfd);
static void _free_data (E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
@ -40,7 +41,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_theme(E_Container *con)
e_int_config_theme(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -6,7 +6,7 @@
#ifndef E_INT_CONFIG_THEME_H
#define E_INT_CONFIG_THEME_H
EAPI E_Config_Dialog *e_int_config_theme(E_Container *con);
EAPI E_Config_Dialog *e_int_config_theme(E_Container *con, const char *params __UNUSED__);
EAPI void e_int_config_theme_import_done(E_Config_Dialog *dia);
EAPI void e_int_config_theme_update(E_Config_Dialog *dia, char *file);

@ -1,4 +1,5 @@
#include "e.h"
#include "e_int_config_theme.h"
typedef struct _Import Import;

@ -27,7 +27,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_transitions(E_Container *con)
e_int_config_transitions(E_Container *con, const char *params __UNUSED__)
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;

@ -3,7 +3,7 @@
#ifndef E_INT_CONFIG_TRANSITIONS_H
#define E_INT_CONFIG_TRANSITIONS_H
EAPI E_Config_Dialog *e_int_config_transitions(E_Container *con);
EAPI E_Config_Dialog *e_int_config_transitions(E_Container *con, const char *params __UNUSED__);
#endif
#endif

@ -48,7 +48,7 @@ struct _E_Config_Dialog_Data
};
EAPI E_Config_Dialog *
e_int_config_wallpaper(E_Container *con)
e_int_config_wallpaper(E_Container *con, const char *params __UNUSED__)
{
return _e_int_config_wallpaper_desk(con, -1, -1, -1, -1);
}
@ -62,7 +62,7 @@ e_int_config_wallpaper_desk(E_Container *con, const char *params)
con_num = zone_num = desk_x = desk_y = -1;
if (sscanf(params, "%i %i %i %i", &con_num, &zone_num, &desk_x, &desk_y) != 4)
return NULL;
_e_int_config_wallpaper_desk(con, con_num, zone_num, desk_x, desk_y);
return _e_int_config_wallpaper_desk(con, con_num, zone_num, desk_x, desk_y);
}
static E_Config_Dialog *

@ -7,7 +7,7 @@ typedef struct _E_Config_Wallpaper E_Config_Wallpaper;
#ifndef E_INT_CONFIG_WALLPAPER_H
#define E_INT_CONFIG_WALLPAPER_H
EAPI E_Config_Dialog *e_int_config_wallpaper(E_Container *con);
EAPI E_Config_Dialog *e_int_config_wallpaper(E_Container *con, const char *params __UNUSED__);
EAPI E_Config_Dialog *e_int_config_wallpaper_desk(E_Container *con, const char *params);
EAPI void e_int_config_wallpaper_update(E_Config_Dialog *dia, char *file);

@ -440,8 +440,6 @@ _pager_desk_find(Pager *p, E_Desk *desk)
static void
_pager_desk_switch(Pager_Desk *pd1, Pager_Desk *pd2)
{
int d1, d2;
int tmp_x, tmp_y;
int c;
E_Zone *zone1, *zone2;
E_Desk *desk1, *desk2;
@ -1442,39 +1440,6 @@ _pager_cb_event_border_property(void *data, int type, void *event)
return 1;
}
static int
_pager_cb_event_border_skip_winlist(void *data, int type, void *event)
{
E_Event_Border_Property *ev;
Evas_List *l, *l2;
ev = event;
for (l = pager_config->instances; l; l = l->next)
{
Instance *inst;
inst = l->data;
if (inst->pager->zone != ev->border->zone) continue;
for (l2 = inst->pager->desks; l2; l2 = l2->next)
{
Pager_Desk *pd;
Pager_Win *pw;
pd = l2->data;
pw = _pager_desk_window_find(pd, ev->border);
if (pw && ev->border->client.netwm.state.skip_pager != pw->skip_winlist)
{
pw->skip_winlist = ev->border->client.netwm.state.skip_pager;
if (pw->skip_winlist)
evas_object_hide(pw->o_window);
else
evas_object_show(pw->o_window);
}
}
}
return 1;
}
static int
_pager_cb_event_zone_desk_count_set(void *data, int type, void *event)
{
@ -2051,7 +2016,6 @@ _pager_desk_cb_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_inf
E_Drag *drag;
Evas_Object *o, *oo, *o_icon;
Evas_Coord x, y, w, h;
const char *file = NULL, *part = NULL;
const char *drag_types[] = { "enlightenment/vdesktop" };
Pager_Win *pw;
Evas_List *l;

@ -117,12 +117,11 @@ _fill_data(E_Config_Dialog_Data *cfdata)
switch (cfdata->inst->sensor_type)
{
case SENSOR_TYPE_NONE:
break;
case SENSOR_TYPE_FREEBSD:
break;
case SENSOR_TYPE_OMNIBOOK:
break;
case SENSOR_TYPE_LINUX_MACMINI:
case SENSOR_TYPE_LINUX_PBOOK:
case SENSOR_TYPE_LINUX_INTELCORETEMP:
break;
case SENSOR_TYPE_LINUX_I2C:
therms = temperature_get_i2c_files();

Loading…
Cancel
Save