Commit 8213793f authored by Christian Hergert's avatar Christian Hergert

socketlistener: fix event signature in vfunc

The GSocketListener::event signal has a type of GSocketListenerEvent,
which is an enum. However, the vfunc signature had a pointer, with
different sizing requirements. Given the alignment and prompostion
of some systems, you may still get the same call-site layout, but
that is not guaranteed.

This fixes the parameter to have the proper enumeration.
parent a07b5788
......@@ -62,7 +62,7 @@ struct _GSocketListenerClass
void (* changed) (GSocketListener *listener);
void (* event) (GSocketListener *listener,
GSocketListenerEvent *event,
GSocketListenerEvent event,
GSocket *socket);
/* Padding for future expansion */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment