[glib/new-gsettings] Make GSettingsSchema work



commit e8bc704bdad763e69b004c61a8d26d99dfc69e6c
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Apr 13 22:01:37 2010 -0400

    Make GSettingsSchema work
    
    A static variable has to be marked as static...

 gio/gsettingsschema.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index f14edbe..5bcc1a5 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -36,7 +36,7 @@ static GSList *schema_sources;
 static void
 initialise_schema_sources (void)
 {
-  gsize initialised;
+  static gsize initialised;
 
   if G_UNLIKELY (g_once_init_enter (&initialised))
     {



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