mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-07 13:20:06 +02: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 = {
|
static GSourceFuncs source_funcs = {
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
g_file_monitor_source_dispatch,
|
g_file_monitor_source_dispatch,
|
||||||
g_file_monitor_source_finalize
|
g_file_monitor_source_finalize,
|
||||||
|
NULL, NULL
|
||||||
};
|
};
|
||||||
GFileMonitorSource *fms;
|
GFileMonitorSource *fms;
|
||||||
GSource *source;
|
GSource *source;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user