mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
giomodule: Adapt to the GFileMintor backend selection changes
Instead of relying on some headers/functions presence, the buildsystem now tells us what backend we're using.
This commit is contained in:
parent
dae3b8bd15
commit
7460faf861
@ -1340,10 +1340,10 @@ _g_io_modules_ensure_loaded (void)
|
||||
g_type_ensure (g_memory_settings_backend_get_type ());
|
||||
g_type_ensure (g_keyfile_settings_backend_get_type ());
|
||||
g_type_ensure (g_power_profile_monitor_dbus_get_type ());
|
||||
#if defined(HAVE_INOTIFY_INIT1)
|
||||
#if defined(FILE_MONITOR_BACKEND_INOTIFY) || defined(FILE_MONITOR_BACKEND_LIBINOTIFY_KQUEUE)
|
||||
g_type_ensure (g_inotify_file_monitor_get_type ());
|
||||
#endif
|
||||
#if defined(HAVE_KQUEUE)
|
||||
#if defined(FILE_MONITOR_BACKEND_KQUEUE)
|
||||
g_type_ensure (g_kqueue_file_monitor_get_type ());
|
||||
#endif
|
||||
#ifdef G_OS_WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user