mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-27 18:10:03 +01:00
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. https://bugzilla.gnome.org/show_bug.cgi?id=791906
This commit is contained in:
parent
a07b57887d
commit
8213793f34
@ -62,7 +62,7 @@ struct _GSocketListenerClass
|
||||
void (* changed) (GSocketListener *listener);
|
||||
|
||||
void (* event) (GSocketListener *listener,
|
||||
GSocketListenerEvent *event,
|
||||
GSocketListenerEvent event,
|
||||
GSocket *socket);
|
||||
|
||||
/* Padding for future expansion */
|
||||
|
Loading…
x
Reference in New Issue
Block a user