Ensure that the keyfile settings backend exists

We need to bring the type into existence.

Closes: https://gitlab.gnome.org/GNOME/glib/issues/1822
This commit is contained in:
Matthias Clasen 2019-07-08 10:31:51 -04:00
parent 18cfe50caa
commit 5f8d787815

View File

@ -1211,6 +1211,7 @@ _g_io_modules_ensure_loaded (void)
/* Initialize types from built-in "modules" */
g_type_ensure (g_null_settings_backend_get_type ());
g_type_ensure (g_memory_settings_backend_get_type ());
g_type_ensure (g_keyfile_settings_backend_get_type ());
#if defined(HAVE_INOTIFY_INIT1)
g_type_ensure (g_inotify_file_monitor_get_type ());
#endif