• Emmanuel Fleury's avatar
    Fixing missing initializer in glib/giounix.c · b673ac48
    Emmanuel Fleury authored
                         ^~~
    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;
                       ^~~~~~~~~~~~~~~~
    b673ac48
giounix.c 16.3 KB