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
committed by Philip Withnall
parent e43a63726d
commit cba4a0d2df

View File

@@ -1209,6 +1209,7 @@ _g_io_modules_ensure_loaded (void)
/* Initialize types from built-in "modules" */ /* Initialize types from built-in "modules" */
g_type_ensure (g_null_settings_backend_get_type ()); g_type_ensure (g_null_settings_backend_get_type ());
g_type_ensure (g_memory_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) #if defined(HAVE_INOTIFY_INIT1)
g_type_ensure (g_inotify_file_monitor_get_type ()); g_type_ensure (g_inotify_file_monitor_get_type ());
#endif #endif