Enlightenment CVS committal Author : englebass Project : e17 Module : libs/efreet
Dir : e17/libs/efreet/src/bin Modified Files: ef_desktop.c Log Message: Fix function to match callback prototype. =================================================================== RCS file: /cvs/e/e17/libs/efreet/src/bin/ef_desktop.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ef_desktop.c 4 Nov 2007 09:32:35 -0000 1.9 +++ ef_desktop.c 24 Feb 2008 19:14:14 -0000 1.10 @@ -9,7 +9,7 @@ #define IF_FREE(x) do { if (x) free(x); x = NULL; } while (0); #define NEW(x, c) calloc(c, sizeof(x)) -static void _cb_command(void *data, Efreet_Desktop *desktop, char *exec, int remaining); +static void *_cb_command(void *data, Efreet_Desktop *desktop, char *exec, int remaining); int @@ -326,7 +326,7 @@ return ret; } -static void +static void * _cb_command(void *data, Efreet_Desktop *desktop, char *exec, int remaining) { Test_Info *info = data; @@ -348,6 +348,7 @@ } free(exec); + return NULL; } static void * ------------------------------------------------------------------------- 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