[glib] win32: Fix a g_once_init_enter call



commit 34ec21fab54ecd964ab7167060b650ab0ff44602
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 31 13:48:22 2015 -0400

    win32: Fix a g_once_init_enter call
    
    g_once_init_enter must be given a gsize-sized location.
    A gboolean doesn't qualify. This broke the build on win64.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=754307

 gio/gwin32appinfo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gwin32appinfo.c b/gio/gwin32appinfo.c
index 7791ef8..6556b0c 100644
--- a/gio/gwin32appinfo.c
+++ b/gio/gwin32appinfo.c
@@ -3382,7 +3382,7 @@ watch_keys (void)
 static void
 g_win32_appinfo_init (void)
 {
-  static gboolean initialized = FALSE;
+  static gsize initialized;
 
   if (g_once_init_enter (&initialized))
     {


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