Fix EAPI warnings.

SVN revision: 19597
devs/princeamd/enlightenment-0.17-elive
sebastid 17 years ago committed by sebastid
parent d3c1a4a4a0
commit 6a638a7806
  1. 4
      src/bin/e_about.c
  2. 10
      src/bin/e_actions.c
  3. 6
      src/bin/e_alert.c
  4. 66
      src/bin/e_apps.c
  5. 12
      src/bin/e_apps_cache.c
  6. 24
      src/bin/e_atoms.c
  7. 8
      src/bin/e_bg.c
  8. 52
      src/bin/e_bindings.c
  9. 147
      src/bin/e_border.c
  10. 40
      src/bin/e_box.c
  11. 14
      src/bin/e_canvas.c
  12. 45
      src/bin/e_config.c
  13. 2
      src/bin/e_config_dialog.c
  14. 4
      src/bin/e_configure.c
  15. 90
      src/bin/e_container.c
  16. 6
      src/bin/e_datastore.c
  17. 42
      src/bin/e_desk.c
  18. 6
      src/bin/e_deskpreview.c
  19. 22
      src/bin/e_dialog.c
  20. 26
      src/bin/e_dnd.c
  21. 2
      src/bin/e_eap_editor.c
  22. 54
      src/bin/e_entry.c
  23. 8
      src/bin/e_error.c
  24. 8
      src/bin/e_exebuf.c
  25. 12
      src/bin/e_exehist.c
  26. 10
      src/bin/e_file_dialog.c
  27. 8
      src/bin/e_file_selector.c
  28. 10
      src/bin/e_fileman.c
  29. 28
      src/bin/e_fileman_file.c
  30. 30
      src/bin/e_fileman_icon.c
  31. 40
      src/bin/e_fileman_smart.c
  32. 22
      src/bin/e_focus.c
  33. 30
      src/bin/e_font.c
  34. 8
      src/bin/e_gadget.c
  35. 5
      src/bin/e_gadget.h
  36. 52
      src/bin/e_gadman.c
  37. 12
      src/bin/e_grabinput.c
  38. 62
      src/bin/e_hints.c
  39. 30
      src/bin/e_icon.c
  40. 39
      src/bin/e_icon_canvas.c
  41. 37
      src/bin/e_icon_grid.c
  42. 28
      src/bin/e_ilist.c
  43. 20
      src/bin/e_init.c
  44. 2
      src/bin/e_int_border_border.c
  45. 2
      src/bin/e_int_border_locks.c
  46. 4
      src/bin/e_int_border_menu.c
  47. 2
      src/bin/e_int_border_remember.c
  48. 2
      src/bin/e_int_config_background.c
  49. 2
      src/bin/e_int_config_desks.c
  50. 2
      src/bin/e_int_config_focus.c
  51. 2
      src/bin/e_int_config_general.c
  52. 2
      src/bin/e_int_config_menus.c
  53. 2
      src/bin/e_int_config_modules.c
  54. 2
      src/bin/e_int_config_performance.c
  55. 2
      src/bin/e_int_config_theme.c
  56. 2
      src/bin/e_int_config_window_display.c
  57. 2
      src/bin/e_int_config_window_manipulation.c
  58. 2
      src/bin/e_int_config_winlist.c
  59. 22
      src/bin/e_int_menus.c
  60. 27
      src/bin/e_intl.c
  61. 4
      src/bin/e_ipc.c
  62. 80
      src/bin/e_ipc_codec.c
  63. 26
      src/bin/e_layout.c
  64. 12
      src/bin/e_livethumb.c
  65. 4
      src/bin/e_main.c
  66. 32
      src/bin/e_manager.c
  67. 8
      src/bin/e_maximize.c
  68. 8
      src/bin/e_maximize.h
  69. 73
      src/bin/e_menu.c
  70. 26
      src/bin/e_module.c
  71. 14
      src/bin/e_moveresize.c
  72. 10
      src/bin/e_msg.c
  73. 28
      src/bin/e_object.c
  74. 14
      src/bin/e_pan.c
  75. 20
      src/bin/e_path.c
  76. 8
      src/bin/e_place.c
  77. 10
      src/bin/e_pointer.c
  78. 24
      src/bin/e_popup.c
  79. 14
      src/bin/e_prefix.c
  80. 18
      src/bin/e_remember.c
  81. 4
      src/bin/e_resist.c
  82. 30
      src/bin/e_scrollframe.c
  83. 10
      src/bin/e_signals.c
  84. 34
      src/bin/e_slider.c
  85. 2
      src/bin/e_startup.c
  86. 24
      src/bin/e_table.c
  87. 2
      src/bin/e_test.c
  88. 30
      src/bin/e_theme.c
  89. 4
      src/bin/e_theme_about.c
  90. 22
      src/bin/e_thumb.c
  91. 2
      src/bin/e_user.c
  92. 115
      src/bin/e_utils.c
  93. 54
      src/bin/e_widget.c
  94. 2
      src/bin/e_widget_button.c
  95. 2
      src/bin/e_widget_check.c
  96. 4
      src/bin/e_widget_entry.c
  97. 6
      src/bin/e_widget_fileman.c
  98. 6
      src/bin/e_widget_framelist.c
  99. 4
      src/bin/e_widget_frametable.c
  100. 8
      src/bin/e_widget_iconsel.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -12,7 +12,7 @@ static void _e_about_cb_close(void *data, Evas_Object *obj, const char *emission
/* externally accessible functions */
E_About *
EAPI E_About *
e_about_new(E_Container *con)
{
E_About *about;
@ -125,7 +125,7 @@ e_about_new(E_Container *con)
return about;
}
void
EAPI void
e_about_show(E_About *about)
{
Evas_Coord w, h, mw, mh;

@ -1346,7 +1346,7 @@ static Evas_List *action_names = NULL;
/* externally accessible functions */
int
EAPI int
e_actions_init(void)
{
E_Action *act;
@ -1438,7 +1438,7 @@ e_actions_init(void)
return 1;
}
int
EAPI int
e_actions_shutdown(void)
{
action_names = evas_list_free(action_names);
@ -1449,13 +1449,13 @@ e_actions_shutdown(void)
return 1;
}
Evas_List *
EAPI Evas_List *
e_action_name_list(void)
{
return action_names;
}
E_Action *
EAPI E_Action *
e_action_add(const char *name)
{
E_Action *act;
@ -1472,7 +1472,7 @@ e_action_add(const char *name)
return act;
}
E_Action *
EAPI E_Action *
e_action_find(const char *name)
{
E_Action *act;

@ -24,7 +24,7 @@ static Window win = 0, b1 = 0, b2 = 0, b3 = 0;
static int ww = 600, hh = 440;
/* externally accessible functions */
int
EAPI int
e_alert_init(const char *disp)
{
XGCValues gcv;
@ -72,7 +72,7 @@ e_alert_init(const char *disp)
return 1;
}
int
EAPI int
e_alert_shutdown(void)
{
XDestroyWindow(dd, win);
@ -90,7 +90,7 @@ e_alert_shutdown(void)
return 1;
}
void
EAPI void
e_alert_show(const char *text)
{
int w, i, j, k;

@ -114,7 +114,7 @@ static Evas_List *_e_apps_start_pending = NULL;
/* externally accessible functions */
int
EAPI int
e_app_init(void)
{
char *home;
@ -134,7 +134,7 @@ e_app_init(void)
return 1;
}
int
EAPI int
e_app_shutdown(void)
{
_e_apps_start_pending = evas_list_free(_e_apps_start_pending);
@ -173,7 +173,7 @@ e_app_shutdown(void)
return 1;
}
E_App *
EAPI E_App *
e_app_raw_new(void)
{
E_App *a;
@ -198,7 +198,7 @@ _e_app_cb_scan_hash_foreach(Evas_Hash *hash, const char *key, void *data, void *
return 1;
}
E_App *
EAPI E_App *
e_app_new(const char *path, int scan_subdirs)
{
E_App *a;
@ -278,7 +278,7 @@ error:
return NULL;
}
E_App *
EAPI E_App *
e_app_empty_new(const char *path)
{
E_App *a;
@ -289,7 +289,7 @@ e_app_empty_new(const char *path)
return a;
}
int
EAPI int
e_app_is_parent(E_App *parent, E_App *app)
{
E_App *current;
@ -306,7 +306,7 @@ e_app_is_parent(E_App *parent, E_App *app)
return 0;
}
int
EAPI int
e_app_equals(E_App *app1, E_App *app2)
{
if ((!app1) || (!app2)) return 0;
@ -314,7 +314,7 @@ e_app_equals(E_App *app1, E_App *app2)
(app1 == app2->orig) || (app1->orig == app2->orig));
}
void
EAPI void
e_app_subdir_scan(E_App *a, int scan_subdirs)
{
Ecore_List *files;
@ -392,7 +392,7 @@ e_app_subdir_scan(E_App *a, int scan_subdirs)
e_app_cache_free(ac);
}
int
EAPI int
e_app_exec(E_App *a, int launch_id)
{
Ecore_Exe *exe;
@ -431,7 +431,7 @@ e_app_exec(E_App *a, int launch_id)
return 1;
}
int
EAPI int
e_app_starting_get(E_App *a)
{
E_OBJECT_CHECK_RETURN(a, 0);
@ -439,7 +439,7 @@ e_app_starting_get(E_App *a)
return a->starting;
}
int
EAPI int
e_app_running_get(E_App *a)
{
E_OBJECT_CHECK_RETURN(a, 0);
@ -448,7 +448,7 @@ e_app_running_get(E_App *a)
return 0;
}
void
EAPI void
e_app_prepend_relative(E_App *add, E_App *before)
{
char buf[PATH_MAX];
@ -477,7 +477,7 @@ e_app_prepend_relative(E_App *add, E_App *before)
_e_app_change(before->parent, E_APP_ORDER);
}
void
EAPI void
e_app_append(E_App *add, E_App *parent)
{
char buf[PATH_MAX];
@ -502,7 +502,7 @@ e_app_append(E_App *add, E_App *parent)
_e_app_change(add, E_APP_ADD);
}
void
EAPI void
e_app_files_prepend_relative(Evas_List *files, E_App *before)
{
Evas_List *l;
@ -558,7 +558,7 @@ e_app_files_prepend_relative(Evas_List *files, E_App *before)
}
}
void
EAPI void
e_app_files_append(Evas_List *files, E_App *parent)
{
Evas_List *l, *subapps;
@ -610,7 +610,7 @@ e_app_files_append(Evas_List *files, E_App *parent)
}
}
void
EAPI void
e_app_remove(E_App *a)
{
char buf[PATH_MAX];
@ -635,7 +635,7 @@ e_app_remove(E_App *a)
a->parent = NULL;
}
void
EAPI void
e_app_change_callback_add(void (*func) (void *data, E_App *a, E_App_Change ch), void *data)
{
E_App_Callback *cb;
@ -646,7 +646,7 @@ e_app_change_callback_add(void (*func) (void *data, E_App *a, E_App_Change ch),
_e_apps_change_callbacks = evas_list_append(_e_apps_change_callbacks, cb);
}
void
EAPI void
e_app_change_callback_del(void (*func) (void *data, E_App *a, E_App_Change ch), void *data)
{
Evas_List *l;
@ -673,7 +673,7 @@ e_app_change_callback_del(void (*func) (void *data, E_App *a, E_App_Change ch),
}
}
E_App *
EAPI E_App *
e_app_launch_id_pid_find(int launch_id, pid_t pid)
{
Evas_List *l, *ll;
@ -700,7 +700,7 @@ e_app_launch_id_pid_find(int launch_id, pid_t pid)
return NULL;
}
E_App *
EAPI E_App *
e_app_window_name_class_title_role_find(const char *name, const char *class,
const char *title, const char *role)
{
@ -741,7 +741,7 @@ e_app_window_name_class_title_role_find(const char *name, const char *class,
return NULL;
}
E_App *
EAPI E_App *
e_app_file_find(char *file)
{
Evas_List *l;
@ -773,7 +773,7 @@ e_app_file_find(char *file)
return NULL;
}
E_App *
EAPI E_App *
e_app_name_find(char *name)
{
Evas_List *l;
@ -798,7 +798,7 @@ e_app_name_find(char *name)
return NULL;
}
E_App *
EAPI E_App *
e_app_generic_find(char *generic)
{
Evas_List *l;
@ -823,7 +823,7 @@ e_app_generic_find(char *generic)
return NULL;
}
E_App *
EAPI E_App *
e_app_exe_find(char *exe)
{
Evas_List *l;
@ -850,7 +850,7 @@ e_app_exe_find(char *exe)
Evas_List *
EAPI Evas_List *
e_app_name_glob_list(char *name)
{
Evas_List *l, *list = NULL;
@ -871,7 +871,7 @@ e_app_name_glob_list(char *name)
return list;
}
Evas_List *
EAPI Evas_List *
e_app_generic_glob_list(char *generic)
{
Evas_List *l, *list = NULL;
@ -892,7 +892,7 @@ e_app_generic_glob_list(char *generic)
return list;
}
Evas_List *
EAPI Evas_List *
e_app_exe_glob_list(char *exe)
{
Evas_List *l, *list = NULL;
@ -913,7 +913,7 @@ e_app_exe_glob_list(char *exe)
return list;
}
Evas_List *
EAPI Evas_List *
e_app_comment_glob_list(char *comment)
{
Evas_List *l, *list = NULL;
@ -938,7 +938,7 @@ e_app_comment_glob_list(char *comment)
void
EAPI void
e_app_fields_fill(E_App *a, const char *path)
{
Eet_File *ef;
@ -1026,7 +1026,7 @@ e_app_fields_fill(E_App *a, const char *path)
* We also need to fix startup-notify and wait-exit as they currently
* dont save too.
*/
void
EAPI void
e_app_fields_save(E_App *a)
{
Eet_File *ef;
@ -1135,7 +1135,7 @@ e_app_fields_save(E_App *a)
eet_close(ef);
}
void
EAPI void
e_app_fields_empty(E_App *a)
{
if (a->name) evas_stringshare_del(a->name);
@ -1158,7 +1158,7 @@ e_app_fields_empty(E_App *a)
a->win_role = NULL;
}
Ecore_List *
EAPI Ecore_List *
e_app_dir_file_list_get(E_App *a)
{
Ecore_List *files, *files2;
@ -1228,7 +1228,7 @@ e_app_dir_file_list_get(E_App *a)
return files;
}
int
EAPI int
e_app_valid_exe_get(E_App *a)
{
char *exe;

@ -21,7 +21,7 @@ static void _e_eapp_cache_fill(E_App_Cache *ac, E_App *a);
static Eet_Data_Descriptor *_e_app_cache_edd = NULL;
int
EAPI int
e_app_cache_init(void)
{
Eet_Data_Descriptor_Class eddc;
@ -61,14 +61,14 @@ e_app_cache_init(void)
return 1;
}
int
EAPI int
e_app_cache_shutdown(void)
{
FREED(_e_app_cache_edd);
return 1;
}
E_App_Cache *
EAPI E_App_Cache *
e_app_cache_load(char *path)
{
Eet_File *ef;
@ -96,7 +96,7 @@ e_app_cache_load(char *path)
return ac;
}
E_App_Cache *
EAPI E_App_Cache *
e_app_cache_generate(E_App *a)
{
E_App_Cache *ac;
@ -129,7 +129,7 @@ e_app_cache_generate(E_App *a)
return ac;
}
void
EAPI void
e_app_cache_free(E_App_Cache *ac)
{
if (!ac) return;
@ -155,7 +155,7 @@ e_app_cache_free(E_App_Cache *ac)
free(ac);
}
int
EAPI int
e_app_cache_save(E_App_Cache *ac, char *path)
{
Eet_File *ef;

@ -4,19 +4,19 @@
#include "e.h"
/* Atoms */
Ecore_X_Atom E_ATOM_MANAGED = 0;
Ecore_X_Atom E_ATOM_CONTAINER = 0;
Ecore_X_Atom E_ATOM_ZONE = 0;
Ecore_X_Atom E_ATOM_DESK = 0;
Ecore_X_Atom E_ATOM_MAPPED = 0;
Ecore_X_Atom E_ATOM_SHADE_DIRECTION = 0;
Ecore_X_Atom E_ATOM_HIDDEN = 0;
Ecore_X_Atom E_ATOM_BORDER_SIZE = 0;
Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
EAPI Ecore_X_Atom E_ATOM_MANAGED = 0;
EAPI Ecore_X_Atom E_ATOM_CONTAINER = 0;
EAPI Ecore_X_Atom E_ATOM_ZONE = 0;
EAPI Ecore_X_Atom E_ATOM_DESK = 0;
EAPI Ecore_X_Atom E_ATOM_MAPPED = 0;
EAPI Ecore_X_Atom E_ATOM_SHADE_DIRECTION = 0;
EAPI Ecore_X_Atom E_ATOM_HIDDEN = 0;
EAPI Ecore_X_Atom E_ATOM_BORDER_SIZE = 0;
EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE = 0;
EAPI Ecore_X_Atom E_ATOM_WINDOW_STATE_CENTERED = 0;
/* externally accessible functions */
int
EAPI int
e_atoms_init(void)
{
E_ATOM_MANAGED = ecore_x_atom_get("__E_WINDOW_MANAGED");
@ -33,7 +33,7 @@ e_atoms_init(void)
return 1;
}
int
EAPI int
e_atoms_shutdown(void)
{
/* Nothing really to do here yet, just present for consistency right now */

@ -9,7 +9,7 @@ static void _e_bg_signal(void *data, Evas_Object *obj, const char *emission, con
/* local subsystem globals */
/* externally accessible functions */
void
EAPI void
e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
{
Evas_Object *o;
@ -136,7 +136,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
}
}
void
EAPI void
e_bg_add(int container, int zone, int desk_x, int desk_y, char *file)
{
E_Config_Desktop_Background *cfbg;
@ -151,7 +151,7 @@ e_bg_add(int container, int zone, int desk_x, int desk_y, char *file)
e_config->desktop_backgrounds = evas_list_append(e_config->desktop_backgrounds, cfbg);
}
void
EAPI void
e_bg_del(int container, int zone, int desk_x, int desk_y)
{
Evas_List *l;
@ -172,7 +172,7 @@ e_bg_del(int container, int zone, int desk_x, int desk_y)
}
}
void
EAPI void
e_bg_update(void)
{
Evas_List *l, *ll, *lll;

@ -20,7 +20,7 @@ static Evas_List *wheel_bindings = NULL;
/* externally accessible functions */
int
EAPI int
e_bindings_init(void)
{
Evas_List *l;
@ -78,7 +78,7 @@ e_bindings_init(void)
return 1;
}
int
EAPI int
e_bindings_shutdown(void)
{
while (mouse_bindings)
@ -116,7 +116,7 @@ e_bindings_shutdown(void)
return 1;
}
void
EAPI void
e_bindings_mouse_add(E_Binding_Context ctxt, int button, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
E_Binding_Mouse *bind;
@ -131,7 +131,7 @@ e_bindings_mouse_add(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
mouse_bindings = evas_list_append(mouse_bindings, bind);
}
void
EAPI void
e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
Evas_List *l;
@ -157,7 +157,7 @@ e_bindings_mouse_del(E_Binding_Context ctxt, int button, E_Binding_Modifier mod,
}
}
void
EAPI void
e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -185,7 +185,7 @@ e_bindings_mouse_grab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
void
EAPI void
e_bindings_mouse_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -210,7 +210,7 @@ e_bindings_mouse_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
E_Action *
EAPI E_Action *
e_bindings_mouse_down_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Down *ev, E_Binding_Mouse **bind_ret)
{
E_Binding_Modifier mod = 0;
@ -241,7 +241,7 @@ e_bindings_mouse_down_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_
return NULL;
}
E_Action *
EAPI E_Action *
e_bindings_mouse_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Down *ev)
{
E_Action *act;
@ -259,7 +259,7 @@ e_bindings_mouse_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_
return act;
}
E_Action *
EAPI E_Action *
e_bindings_mouse_up_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Up *ev, E_Binding_Mouse **bind_ret)
{
E_Binding_Modifier mod = 0;
@ -290,7 +290,7 @@ e_bindings_mouse_up_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mo
return NULL;
}
E_Action *
EAPI E_Action *
e_bindings_mouse_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Button_Up *ev)
{
E_Action *act;
@ -308,7 +308,7 @@ e_bindings_mouse_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_
return act;
}
void
EAPI void
e_bindings_key_add(E_Binding_Context ctxt, char *key, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
E_Binding_Key *bind;
@ -323,7 +323,7 @@ e_bindings_key_add(E_Binding_Context ctxt, char *key, E_Binding_Modifier mod, in
key_bindings = evas_list_append(key_bindings, bind);
}
void
EAPI void
e_bindings_key_del(E_Binding_Context ctxt, char *key, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
Evas_List *l;
@ -349,7 +349,7 @@ e_bindings_key_del(E_Binding_Context ctxt, char *key, E_Binding_Modifier mod, in
}
}
void
EAPI void
e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -374,7 +374,7 @@ e_bindings_key_grab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
void
EAPI void
e_bindings_key_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -399,7 +399,7 @@ e_bindings_key_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
E_Action *
EAPI E_Action *
e_bindings_key_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Key_Down *ev)
{
E_Binding_Modifier mod = 0;
@ -437,7 +437,7 @@ e_bindings_key_down_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_
return NULL;
}
E_Action *
EAPI E_Action *
e_bindings_key_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Key_Up *ev)
{
E_Binding_Modifier mod = 0;
@ -476,7 +476,7 @@ e_bindings_key_up_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Ev
}
/* FIXME: finish off signal bindings */
void
EAPI void
e_bindings_signal_add(E_Binding_Context ctxt, char *sig, char *src, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
E_Binding_Signal *bind;
@ -492,7 +492,7 @@ e_bindings_signal_add(E_Binding_Context ctxt, char *sig, char *src, E_Binding_Mo
signal_bindings = evas_list_append(signal_bindings, bind);
}
void
EAPI void
e_bindings_signal_del(E_Binding_Context ctxt, char *sig, char *src, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
Evas_List *l;
@ -521,7 +521,7 @@ e_bindings_signal_del(E_Binding_Context ctxt, char *sig, char *src, E_Binding_Mo
}
}
E_Action *
EAPI E_Action *
e_bindings_signal_find(E_Binding_Context ctxt, E_Object *obj, char *sig, char *src, E_Binding_Signal **bind_ret)
{
E_Binding_Modifier mod = 0;
@ -553,7 +553,7 @@ e_bindings_signal_find(E_Binding_Context ctxt, E_Object *obj, char *sig, char *s
return NULL;
}
E_Action *
EAPI E_Action *
e_bindings_signal_handle(E_Binding_Context ctxt, E_Object *obj, char *sig, char *src)
{
E_Action *act;
@ -574,7 +574,7 @@ e_bindings_signal_handle(E_Binding_Context ctxt, E_Object *obj, char *sig, char
}
/* FIXME: finish off wheel bindings */
void
EAPI void
e_bindings_wheel_add(E_Binding_Context ctxt, int direction, int z, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
E_Binding_Wheel *bind;
@ -590,7 +590,7 @@ e_bindings_wheel_add(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
wheel_bindings = evas_list_append(wheel_bindings, bind);
}
void
EAPI void
e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Modifier mod, int any_mod, char *action, char *params)
{
Evas_List *l;
@ -617,7 +617,7 @@ e_bindings_wheel_del(E_Binding_Context ctxt, int direction, int z, E_Binding_Mod
}
}
void
EAPI void
e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -656,7 +656,7 @@ e_bindings_wheel_grab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
void
EAPI void
e_bindings_wheel_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
{
Evas_List *l;
@ -693,7 +693,7 @@ e_bindings_wheel_ungrab(E_Binding_Context ctxt, Ecore_X_Window win)
}
}
E_Action *
EAPI E_Action *
e_bindings_wheel_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Wheel *ev, E_Binding_Wheel **bind_ret)
{
E_Binding_Modifier mod = 0;
@ -725,7 +725,7 @@ e_bindings_wheel_find(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse
return NULL;
}
E_Action *
EAPI E_Action *
e_bindings_wheel_event_handle(E_Binding_Context ctxt, E_Object *obj, Ecore_X_Event_Mouse_Wheel *ev)
{
E_Action *act;

@ -113,20 +113,20 @@ static Evas_List *focus_stack = NULL;
static Ecore_X_Screen_Size screen_size = { -1, -1 };
int E_EVENT_BORDER_ADD = 0;
int E_EVENT_BORDER_REMOVE = 0;
int E_EVENT_BORDER_ZONE_SET = 0;
int E_EVENT_BORDER_DESK_SET = 0;
int E_EVENT_BORDER_RESIZE = 0;
int E_EVENT_BORDER_MOVE = 0;
int E_EVENT_BORDER_SHOW = 0;
int E_EVENT_BORDER_HIDE = 0;
int E_EVENT_BORDER_ICONIFY = 0;
int E_EVENT_BORDER_UNICONIFY = 0;
int E_EVENT_BORDER_STICK = 0;
int E_EVENT_BORDER_UNSTICK = 0;
int E_EVENT_BORDER_STACK = 0;
int E_EVENT_BORDER_ICON_CHANGE = 0;
EAPI int E_EVENT_BORDER_ADD = 0;
EAPI int E_EVENT_BORDER_REMOVE = 0;
EAPI int E_EVENT_BORDER_ZONE_SET = 0;
EAPI int E_EVENT_BORDER_DESK_SET = 0;
EAPI int E_EVENT_BORDER_RESIZE = 0;
EAPI int E_EVENT_BORDER_MOVE = 0;
EAPI int E_EVENT_BORDER_SHOW = 0;
EAPI int E_EVENT_BORDER_HIDE = 0;
EAPI int E_EVENT_BORDER_ICONIFY = 0;
EAPI int E_EVENT_BORDER_UNICONIFY = 0;
EAPI int E_EVENT_BORDER_STICK = 0;
EAPI int E_EVENT_BORDER_UNSTICK = 0;
EAPI int E_EVENT_BORDER_STACK = 0;
EAPI int E_EVENT_BORDER_ICON_CHANGE = 0;
#define GRAV_SET(bd, grav) \
ecore_x_window_gravity_set(bd->bg_win, grav); \
@ -136,7 +136,7 @@ ecore_x_window_gravity_set(bd->bg_subwin, grav); \
ecore_x_window_pixel_gravity_set(bd->bg_subwin, grav);
/* externally accessible functions */
int
EAPI int
e_border_init(void)
{
handlers = evas_list_append(handlers, ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW_REQUEST, _e_border_cb_window_show_request, NULL));
@ -181,7 +181,7 @@ e_border_init(void)
return 1;
}
int
EAPI int
e_border_shutdown(void)
{
while (handlers)
@ -195,7 +195,7 @@ e_border_shutdown(void)
return 1;
}
E_Border *
EAPI E_Border *
e_border_new(E_Container *con, Ecore_X_Window win, int first_map)
{
E_Border *bd;
@ -445,7 +445,7 @@ e_border_new(E_Container *con, Ecore_X_Window win, int first_map)
return bd;
}
void
EAPI void
e_border_zone_set(E_Border *bd, E_Zone *zone)
{
E_Event_Border_Zone_Set *ev;
@ -503,7 +503,7 @@ e_border_zone_set(E_Border *bd, E_Zone *zone)
ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_ZONE, &bd->zone->num, 1);
}
void
EAPI void
e_border_desk_set(E_Border *bd, E_Desk *desk)
{
E_Event_Border_Desk_Set *ev;
@ -544,7 +544,7 @@ e_border_desk_set(E_Border *bd, E_Desk *desk)
}
}
void
EAPI void
e_border_show(E_Border *bd)
{
E_Event_Border_Show *ev;
@ -571,7 +571,7 @@ e_border_show(E_Border *bd)
ecore_event_add(E_EVENT_BORDER_SHOW, ev, _e_border_event_border_show_free, NULL);
}
void
EAPI void
e_border_hide(E_Border *bd, int manage)
{
unsigned int visible;
@ -635,7 +635,7 @@ e_border_hide(E_Border *bd, int manage)
}
}
void
EAPI void
e_border_move(E_Border *bd, int x, int y)
{
E_Event_Border_Move *ev;
@ -686,7 +686,7 @@ e_border_move(E_Border *bd, int x, int y)
_e_border_zone_update(bd);
}
void
EAPI void
e_border_resize(E_Border *bd, int w, int h)
{
E_Event_Border_Resize *ev;
@ -743,7 +743,7 @@ e_border_resize(E_Border *bd, int w, int h)
_e_border_zone_update(bd);
}
void
EAPI void
e_border_move_resize(E_Border *bd, int x, int y, int w, int h)
{
E_Event_Border_Move *mev;
@ -812,7 +812,7 @@ e_border_move_resize(E_Border *bd, int x, int y, int w, int h)
_e_border_zone_update(bd);
}
void
EAPI void
e_border_layer_set(E_Border *bd, int layer)
{
int raise;
@ -845,7 +845,7 @@ e_border_layer_set(E_Border *bd, int layer)
e_config->transient.raise = raise;
}
void
EAPI void
e_border_raise(E_Border *bd)
{
E_Event_Border_Stack *ev;
@ -930,7 +930,7 @@ e_border_raise(E_Border *bd)
ecore_event_add(E_EVENT_BORDER_STACK, ev, _e_border_event_border_stack_free, NULL);
}
void
EAPI void
e_border_lower(E_Border *bd)
{
E_Event_Border_Stack *ev;
@ -1015,7 +1015,7 @@ e_border_lower(E_Border *bd)
ecore_event_add(E_EVENT_BORDER_STACK, ev, _e_border_event_border_stack_free, NULL);
}
void
EAPI void
e_border_stack_above(E_Border *bd, E_Border *above)
{
/* TODO: Should stack above allow the border to change level */
@ -1069,7 +1069,7 @@ e_border_stack_above(E_Border *bd, E_Border *above)
ecore_event_add(E_EVENT_BORDER_STACK, ev, _e_border_event_border_stack_free, NULL);
}
void
EAPI void
e_border_stack_below(E_Border *bd, E_Border *below)
{
/* TODO: Should stack below allow the border to change level */
@ -1123,14 +1123,14 @@ e_border_stack_below(E_Border *bd, E_Border *below)
ecore_event_add(E_EVENT_BORDER_STACK, ev, _e_border_event_border_stack_free, NULL);
}
void
EAPI void
e_border_focus_latest_set(E_Border *bd)
{
focus_stack = evas_list_remove(focus_stack, bd);
focus_stack = evas_list_prepend(focus_stack, bd);
}
void
EAPI void
e_border_focus_set(E_Border *bd, int focus, int set)
{
E_OBJECT_CHECK(bd);
@ -1277,7 +1277,7 @@ e_border_focus_set(E_Border *bd, int focus, int set)
}
}
void
EAPI void
e_border_shade(E_Border *bd, E_Direction dir)
{
E_Event_Border_Resize *ev;
@ -1364,7 +1364,7 @@ e_border_shade(E_Border *bd, E_Direction dir)
}
}
void
EAPI void
e_border_unshade(E_Border *bd, E_Direction dir)
{
E_Event_Border_Resize *ev;
@ -1470,7 +1470,7 @@ e_border_unshade(E_Border *bd, E_Direction dir)
}
}
void
EAPI void
e_border_maximize(E_Border *bd, E_Maximize max)
{
E_OBJECT_CHECK(bd);
@ -1636,7 +1636,7 @@ e_border_maximize(E_Border *bd, E_Maximize max)
}
}
/***sndev : e_border_unmaxmize_vh *******************************************************/
void
EAPI void
e_border_unmaximize_vh(E_Border *bd, E_Maximize max)
{
E_OBJECT_CHECK(bd);
@ -1720,7 +1720,7 @@ e_border_unmaximize_vh(E_Border *bd, E_Maximize max)
}
/**************************************************************************************/
void
EAPI void
e_border_unmaximize(E_Border *bd)
{
E_OBJECT_CHECK(bd);
@ -1784,7 +1784,8 @@ e_border_unmaximize(E_Border *bd)
edje_object_signal_emit(bd->bg_object, "unmaximize", "");
}
}
void
EAPI void
e_border_fullscreen(E_Border *bd, E_Fullscreen policy)
{
E_OBJECT_CHECK(bd);
@ -1885,7 +1886,7 @@ e_border_fullscreen(E_Border *bd, E_Fullscreen policy)
}
}
void
EAPI void
e_border_unfullscreen(E_Border *bd)
{
E_OBJECT_CHECK(bd);
@ -1919,7 +1920,7 @@ e_border_unfullscreen(E_Border *bd)
}
}
void
EAPI void
e_border_iconify(E_Border *bd)
{
E_Event_Border_Iconify *ev;
@ -1958,7 +1959,7 @@ e_border_iconify(E_Border *bd)
}
}
void
EAPI void
e_border_uniconify(E_Border *bd)
{
E_Desk *desk;
@ -2000,7 +2001,7 @@ e_border_uniconify(E_Border *bd)
}
}
void
EAPI void
e_border_stick(E_Border *bd)
{
E_Event_Border_Stick *ev;
@ -2020,7 +2021,7 @@ e_border_stick(E_Border *bd)
ecore_event_add(E_EVENT_BORDER_STICK, ev, _e_border_event_border_stick_free, NULL);
}
void
EAPI void
e_border_unstick(E_Border *bd)
{
E_Event_Border_Unstick *ev;
@ -2042,7 +2043,7 @@ e_border_unstick(E_Border *bd)
e_border_desk_set(bd, e_desk_current_get(bd->zone));
}
E_Border *
EAPI E_Border *
e_border_find_by_client_window(Ecore_X_Window win)
{
E_Border *bd;
@ -2054,7 +2055,7 @@ e_border_find_by_client_window(Ecore_X_Window win)
return NULL;
}
E_Border *
EAPI E_Border *
e_border_find_by_frame_window(Ecore_X_Window win)
{
E_Border *bd;
@ -2066,7 +2067,7 @@ e_border_find_by_frame_window(Ecore_X_Window win)
return NULL;
}
E_Border *
EAPI E_Border *
e_border_find_by_window(Ecore_X_Window win)
{
E_Border *bd;
@ -2078,7 +2079,7 @@ e_border_find_by_window(Ecore_X_Window win)
return NULL;
}
E_Border *
EAPI E_Border *
e_border_find_by_alarm(Ecore_X_Sync_Alarm alarm)
{
Evas_List *l;
@ -2095,13 +2096,13 @@ e_border_find_by_alarm(Ecore_X_Sync_Alarm alarm)
return NULL;
}
E_Border *
EAPI E_Border *
e_border_focused_get(void)
{
return focused;
}
void
EAPI void
e_border_idler_before(void)
{
Evas_List *ml, *cl;
@ -2168,14 +2169,14 @@ e_border_idler_before(void)
}
}
Evas_List *
EAPI Evas_List *
e_border_client_list()
{
/* FIXME: This should be a somewhat ordered list */
return borders;
}
void
EAPI void
e_border_act_move_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev)
{
E_OBJECT_CHECK(bd);
@ -2199,7 +2200,7 @@ e_border_act_move_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev)
}
}
void
EAPI void
e_border_act_move_end(E_Border *bd, Ecore_X_Event_Mouse_Button_Up *ev)
{
E_OBJECT_CHECK(bd);
@ -2212,7 +2213,7 @@ e_border_act_move_end(E_Border *bd, Ecore_X_Event_Mouse_Button_Up *ev)
e_zone_flip_coords_handle(bd->zone, -1, -1);
}
void
EAPI void
e_border_act_resize_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev)
{
E_OBJECT_CHECK(bd);
@ -2259,7 +2260,7 @@ e_border_act_resize_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev)
}
}
void
EAPI void
e_border_act_resize_end(E_Border *bd, Ecore_X_Event_Mouse_Button_Up *ev)
{
E_OBJECT_CHECK(bd);
@ -2274,7 +2275,7 @@ e_border_act_resize_end(E_Border *bd, Ecore_X_Event_Mouse_Button_Up *ev)
}
}
void
EAPI void
e_border_act_menu_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev, int key)
{
E_OBJECT_CHECK(bd);
@ -2295,7 +2296,7 @@ e_border_act_menu_begin(E_Border *bd, Ecore_X_Event_Mouse_Button_Down *ev, int k
}
}
void
EAPI void