diff options
author | Hannes Janetzek <hannes.janetzek@gmail.com> | 2009-09-14 00:31:07 +0000 |
---|---|---|
committer | Hannes Janetzek <hannes.janetzek@gmail.com> | 2009-09-14 00:31:07 +0000 |
commit | b212674d6571e0f50ff4b90ceafd92b4a4d0a7da (patch) | |
tree | 5977063551e49824a3603fb2d921ffe3a06e602f /src/bin | |
parent | f682217fba1207e871645365ed41f443f5336d71 (diff) | |
download | enlightenment-b212674d6571e0f50ff4b90ceafd92b4a4d0a7da.tar.gz |
fix warnings
SVN revision: 42475
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/e_moveresize.c | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/src/bin/e_moveresize.c b/src/bin/e_moveresize.c index dfdbf61bdf..80f0ee4ca0 100644 --- a/src/bin/e_moveresize.c +++ b/src/bin/e_moveresize.c @@ -3,13 +3,13 @@ */ #include "e.h" -static void _e_resize_begin(void *data, E_Border *bd); -static void _e_resize_update(void *data, E_Border *bd); -static void _e_resize_end(void *data, E_Border *bd); +static void _e_resize_begin(void *data, void *bd); +static void _e_resize_update(void *data, void *bd); +static void _e_resize_end(void *data, void *bd); static void _e_resize_border_extents(E_Border *bd, int *w, int *h); -static void _e_move_begin(void *data, E_Border *bd); -static void _e_move_update(void *data, E_Border *bd); -static void _e_move_end(void *data, E_Border *bd); +static void _e_move_begin(void *data, void *bd); +static void _e_move_update(void *data, void *bd); +static void _e_move_end(void *data, void *bd); static void _e_move_resize_object_coords_set(int x, int y, int w, int h); static E_Popup *_disp_pop = NULL; @@ -49,11 +49,14 @@ e_moveresize_shutdown(void) EINA_LIST_FREE(hooks, h) e_border_hook_del(h); + + return 1; } static void -_e_resize_begin(void *data, E_Border *bd) +_e_resize_begin(void *data, void *border) { + E_Border *bd = border; Evas_Coord ew, eh; char buf[40]; int w, h; @@ -109,7 +112,7 @@ _e_resize_begin(void *data, E_Border *bd) } static void -_e_resize_end(void *data, E_Border *bd) +_e_resize_end(void *data, void *border) { if (e_config->resize_info_visible) { @@ -129,8 +132,9 @@ _e_resize_end(void *data, E_Border *bd) } static void -_e_resize_update(void *data, E_Border *bd) +_e_resize_update(void *data, void *border) { + E_Border *bd = border; char buf[40]; int w, h; @@ -182,8 +186,9 @@ _e_resize_border_extents(E_Border *bd, int *w, int *h) } static void -_e_move_begin(void *data, E_Border *bd) +_e_move_begin(void *data, void *border) { + E_Border *bd = border; Evas_Coord ew, eh; char buf[40]; @@ -221,7 +226,7 @@ _e_move_begin(void *data, E_Border *bd) } static void -_e_move_end(void *data, E_Border *bd) +_e_move_end(void *data, void *border) { if (e_config->move_info_visible) { @@ -241,8 +246,10 @@ _e_move_end(void *data, E_Border *bd) } static void -_e_move_update(void *data, E_Border *bd) +_e_move_update(void *data, void *border) { + E_Border *bd = border; + char buf[40]; if (!_disp_pop) return; |