forgot that we do data param first in callbacks...

SVN revision: 74173
This commit is contained in:
Mike Blumenkrantz 2012-07-19 09:19:06 +00:00
parent 85931fc15a
commit c11ff67cff
2 changed files with 2 additions and 2 deletions

View File

@ -197,7 +197,7 @@ e_int_border_menu_create(E_Border *bd)
"e/widgets/border/default/close");
}
EINA_LIST_FOREACH(menu_hooks, l, h)
h->cb(bd, h->data);
h->cb(h->data, bd);
}
EAPI void

View File

@ -4,7 +4,7 @@
#ifndef E_INT_BORDER_MENU_H
#define E_INT_BORDER_MENU_H
typedef void (*E_Border_Menu_Hook_Cb)(E_Border *, void *);
typedef void (*E_Border_Menu_Hook_Cb)(void *, E_Border *);
typedef struct E_Border_Menu_Hook
{
E_Border_Menu_Hook_Cb cb;