mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fixing missing initializer in glib/giounix.c
^~~ glib/giounix.c:111:1: error: missing initializer for field ‘closure_callback’ of ‘GSourceFuncs’ {aka ‘struct _GSourceFuncs’} [-Werror=missing-field-initializers] }; ^ In file included from glib/giochannel.h:33, from glib/glib.h:54, from glib/gprintf.h:21, from glib/gstdio.h:22, from glib/giounix.c:43: glib/gmain.h:262:19: note: ‘closure_callback’ declared here GSourceFunc closure_callback; ^~~~~~~~~~~~~~~~
This commit is contained in:
parent
5dd02cc6f5
commit
b673ac48cc
@ -107,7 +107,8 @@ GSourceFuncs g_io_watch_funcs = {
|
||||
g_io_unix_prepare,
|
||||
g_io_unix_check,
|
||||
g_io_unix_dispatch,
|
||||
g_io_unix_finalize
|
||||
g_io_unix_finalize,
|
||||
NULL, NULL
|
||||
};
|
||||
|
||||
static GIOFuncs unix_channel_funcs = {
|
||||
|
Loading…
Reference in New Issue
Block a user