[glib: 15/25] Fixing missing initializer in glib-unix.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 15/25] Fixing missing initializer in glib-unix.c
- Date: Tue, 19 Mar 2019 11:04:06 +0000 (UTC)
commit 125a1e1f30211a29ad4d117df715daaef15626b1
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date: Mon Feb 4 15:46:24 2019 +0100
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;
^~~~~~~~~~~~~~~~
glib/glib-unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/glib-unix.c b/glib/glib-unix.c
index b616b8cbf..9328e7008 100644
--- a/glib/glib-unix.c
+++ b/glib/glib-unix.c
@@ -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
};
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]