mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2026-07-10 10:36:30 +02: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:
+2
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user