mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix missing initializer warning in gio/glocalfilemonitor.c:g_file_monitor_source_new()
gio/glocalfilemonitor.c: In function ‘g_file_monitor_source_new’: gio/glocalfilemonitor.c:653:3: error: missing initializer for field ‘closure_callback’ of ‘GSourceFuncs’ {aka ‘struct _GSourceFuncs’} 653 | }; | ^
This commit is contained in:
parent
ffa6d9d614
commit
1061a22af1
@ -649,7 +649,8 @@ g_file_monitor_source_new (gpointer instance,
|
||||
static GSourceFuncs source_funcs = {
|
||||
NULL, NULL,
|
||||
g_file_monitor_source_dispatch,
|
||||
g_file_monitor_source_finalize
|
||||
g_file_monitor_source_finalize,
|
||||
NULL, NULL
|
||||
};
|
||||
GFileMonitorSource *fms;
|
||||
GSource *source;
|
||||
|
Loading…
Reference in New Issue
Block a user