[glib] Add a forgotten g_type_ensure call



commit 04ad811e501f50412daf743d462ab6aae724e903
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 8 22:27:06 2017 -0500

    Add a forgotten g_type_ensure call
    
    One of the types in this function was not wrapped in a
    g_type_ensure_call, an obvious oversight.

 gio/giomodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 6701ba8..e697efe 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -1115,7 +1115,7 @@ _g_io_modules_ensure_loaded (void)
       g_type_ensure (g_registry_backend_get_type ());
 #endif
 #ifdef HAVE_COCOA
-      g_nextstep_settings_backend_get_type ();
+      g_type_ensure (g_nextstep_settings_backend_get_type ());
 #endif
 #ifdef G_OS_UNIX
       g_type_ensure (_g_unix_volume_monitor_get_type ());


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