Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/fileman Modified Files: e_fwin.c Log Message: fix evas_hash_foreach function for recent Evas changes. fix some formatting. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/fileman/e_fwin.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_fwin.c 22 Dec 2007 00:20:53 -0000 1.23 +++ e_fwin.c 12 Feb 2008 05:59:01 -0000 1.24 @@ -87,7 +87,7 @@ static void _e_fwin_cb_open(void *data, E_Dialog *dia); static void _e_fwin_cb_close(void *data, E_Dialog *dia); static void _e_fwin_cb_dialog_free(void *obj); -static Evas_Bool _e_fwin_cb_hash_foreach(Evas_Hash *hash, const char *key, void *data, void *fdata); +static Evas_Bool _e_fwin_cb_hash_foreach(const Evas_Hash *hash __UNUSED__, const char *key, void *data __UNUSED__, void *fdata); static E_Fwin_Exec_Type _e_fwin_file_is_exec(E_Fm2_Icon_Info *ici); static void _e_fwin_file_exec(E_Fwin *fwin, E_Fm2_Icon_Info *ici, E_Fwin_Exec_Type ext); static void _e_fwin_file_open_dialog(E_Fwin *fwin, Evas_List *files, int always); @@ -154,12 +154,12 @@ fwin->zone = zone; /* Add Event Handler for zone move/resize & del */ - fwin->zone_handler = ecore_event_handler_add(E_EVENT_ZONE_MOVE_RESIZE, - _e_fwin_zone_move_resize, - fwin); - fwin->zone_del_handler = ecore_event_handler_add(E_EVENT_ZONE_DEL, - _e_fwin_zone_del, - fwin); + fwin->zone_handler = + ecore_event_handler_add(E_EVENT_ZONE_MOVE_RESIZE, + _e_fwin_zone_move_resize, fwin); + fwin->zone_del_handler = + ecore_event_handler_add(E_EVENT_ZONE_DEL, + _e_fwin_zone_del, fwin); /* Trap the mouse_down on zone so we can unselect */ evas_object_event_callback_add(zone->bg_event_object, @@ -295,7 +295,7 @@ else { char buf[256]; - + if (fileman_config->view.show_desktop_icons) { snprintf(buf, sizeof(buf), "%i", @@ -877,7 +877,7 @@ } static Evas_Bool -_e_fwin_cb_hash_foreach(Evas_Hash *hash, const char *key, void *data, void *fdata) +_e_fwin_cb_hash_foreach(const Evas_Hash *hash __UNUSED__, const char *key, void *data __UNUSED__, void *fdata) { Evas_List **mlist; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs