socketlistener: fix event signature in vfunc
commit8213793f341e6052d04aa24bba7bcf1be3e25ed5
authorChristian Hergert <chergert@redhat.com>
Sun, 24 Dec 2017 02:50:50 +0000 (23 18:50 -0800)
committerChristian Hergert <chergert@redhat.com>
Mon, 25 Dec 2017 08:12:06 +0000 (25 00:12 -0800)
tree7af461b93d819c2b243f25e7d82e7470a7360d85
parenta07b57887dee43ca0e3cd33c319eaad8998e03fd
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
gio/gsocketlistener.h