[folks] core: Remove final references to FOLKS_DEBUG environment variable



commit 6f068f2d7174de8b3327f86c0c93b2e1b4afb6b4
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Tue Mar 17 08:47:17 2015 +0000

    core: Remove final references to FOLKS_DEBUG environment variable
    
    We have been using G_MESSAGES_DEBUG exclusively for quite a while now.

 folks/debug.vala         |    4 ++--
 tests/lib/test-case.vala |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/folks/debug.vala b/folks/debug.vala
index fb30f81..b14fb1e 100644
--- a/folks/debug.vala
+++ b/folks/debug.vala
@@ -164,8 +164,8 @@ public class Folks.Debug : Object
       Log.default_handler (log_domain, log_levels, message);
     }
 
-  /* turn off debug output for the given domain unless it was in the FOLKS_DEBUG
-   * environment variable (or 'all' was set) */
+  /* turn off debug output for the given domain unless it was in the
+   * G_MESSAGES_DEBUG environment variable (or 'all' was set) */
   internal void _register_domain (string domain)
     {
       lock (this._domains)
diff --git a/tests/lib/test-case.vala b/tests/lib/test-case.vala
index ed2dfb8..604b3a5 100644
--- a/tests/lib/test-case.vala
+++ b/tests/lib/test-case.vala
@@ -48,7 +48,6 @@ public abstract class Folks.TestCase : Object
        * tests. If the user’s already set those variables, though, don’t
        * overwrite them. */
       Environment.set_variable ("G_MESSAGES_DEBUG", "all", false);
-      Environment.set_variable ("FOLKS_DEBUG", "all", false);
 
       /* Turn off use of gvfs. If using GTestDBus it's unavailable,
        * and if not it's pointless: all we need is the local filesystem. */


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