mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +01:00
Fixing missing initializer in glib-unix.c
glib/glib-unix.c:314: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/glib-unix.h:33, from glib/glib-unix.c:29: glib/gmain.h:262:19: note: ‘closure_callback’ declared here GSourceFunc closure_callback; ^~~~~~~~~~~~~~~~
This commit is contained in:
parent
165a922a95
commit
125a1e1f30
@ -310,7 +310,7 @@ g_unix_fd_source_dispatch (GSource *source,
|
||||
}
|
||||
|
||||
GSourceFuncs g_unix_fd_source_funcs = {
|
||||
NULL, NULL, g_unix_fd_source_dispatch, NULL
|
||||
NULL, NULL, g_unix_fd_source_dispatch, NULL, NULL, NULL
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user