mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix missing initializer warning in gio/gcancellable.c
gio/gcancellable.c:773:1: error: missing initializer for field ‘closure_marshal’ of ‘GSourceFuncs’ {aka ‘struct _GSourceFuncs’} 773 | }; | ^ In file included from glib/giochannel.h:33, from glib/glib.h:54, from gio/gcancellable.c:22: glib/gmain.h:277:23: note: ‘closure_marshal’ declared here 277 | GSourceDummyMarshal closure_marshal; /* Really is of type GClosureMarshal */ | ^~~~~~~~~~~~~~~
This commit is contained in:
parent
058dda1b63
commit
9025969df6
@ -770,6 +770,7 @@ static GSourceFuncs cancellable_source_funcs =
|
||||
cancellable_source_dispatch,
|
||||
NULL,
|
||||
(GSourceFunc)cancellable_source_closure_callback,
|
||||
NULL,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user