]> spindle.queued.net Git - midori/commitdiff
Avoid naming an identifier 'boolean' which is used in Win32 headers
authorChristian Dywan <christian@twotoasts.de>
Wed, 17 Jun 2009 21:39:50 +0000 (23:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 17 Jun 2009 21:39:50 +0000 (23:39 +0200)
midori/main.c

index eeaa8b206db6aff32cf3b0452d0fc4f855269a79..435113e96e1dbdd7ebe6813c344804967903e75d 100644 (file)
@@ -220,9 +220,9 @@ settings_save_to_file (MidoriWebSettings* settings,
         }
         else if (type == G_TYPE_PARAM_BOOLEAN)
         {
-            gboolean boolean;
-            g_object_get (settings, property, &boolean, NULL);
-            g_key_file_set_boolean (key_file, "settings", property, boolean);
+            gboolean truth;
+            g_object_get (settings, property, &truth, NULL);
+            g_key_file_set_boolean (key_file, "settings", property, truth);
         }
         else if (type == G_TYPE_PARAM_ENUM)
         {