server: use the right function pointer type in wl_signal_get

use the wl_notify_func type, and not void *, or else wl_signal_get
will not be usable by a c++ plugin because it will not cast
void * to a function pointer.
This commit is contained in:
Giulio Camuffo 2013-04-02 22:29:46 +02:00 committed by Kristian Høgsberg
parent 3bda215130
commit 6ca428edc8

View file

@ -161,7 +161,7 @@ wl_signal_add(struct wl_signal *signal, struct wl_listener *listener)
}
static inline struct wl_listener *
wl_signal_get(struct wl_signal *signal, void *notify)
wl_signal_get(struct wl_signal *signal, wl_notify_func_t notify)
{
struct wl_listener *l;