diff -r 7a36f91c22f7 -r a499c8a72c15 ui/common/types.c --- a/ui/common/types.c Tue Apr 01 11:50:32 2014 +0200 +++ b/ui/common/types.c Tue Apr 01 11:53:10 2014 +0200 @@ -65,7 +65,13 @@ void ui_notify_except(UiObserver *observer, UiObserver *exc, void *data) { while(observer) { if(observer != exc) { - observer->callback(data, observer->data); + UiEvent evt; + evt.obj = NULL; + evt.window = NULL; + evt.document = NULL; + evt.eventdata = data; + evt.intval = 0; + observer->callback(&evt, observer->data); } observer = observer->next; }