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:
Emmanuel Fleury 2020-11-17 00:59:06 +01:00
parent ffa6d9d614
commit 1061a22af1

View File

@ -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;