[glib/mcatanzaro/glib-2-56-rhel8: 23/45] Ensure that the keyfile settings backend exists




commit 57c5e44fa7a5a4ae5ef01589591c05e1132c7b6b
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 8 10:31:51 2019 -0400

    Ensure that the keyfile settings backend exists
    
    We need to bring the type into existence.
    
    Closes: https://gitlab.gnome.org/GNOME/glib/issues/1822

 gio/giomodule.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 1ead84cf8..8c2a4646c 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -1136,6 +1136,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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]