Fix function to match callback prototype.

SVN revision: 33832
This commit is contained in:
Sebastian Dransfeld 2008-02-24 19:14:14 +00:00
parent cbe6386bc4
commit 5fffd55830
1 changed files with 3 additions and 2 deletions

View File

@ -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 @@ ef_cb_desktop_command_get(void)
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 @@ _cb_command(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
}
free(exec);
return NULL;
}
static void *