summaryrefslogtreecommitdiffstats
path: root/src/spice-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spice-util.c')
-rw-r--r--src/spice-util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/spice-util.c b/src/spice-util.c
index d2bcfbf..6b1f8e5 100644
--- a/src/spice-util.c
+++ b/src/spice-util.c
@@ -42,7 +42,6 @@ static GOnce debug_once = G_ONCE_INIT;
static void spice_util_enable_debug_messages(void)
{
-#if GLIB_CHECK_VERSION(2, 31, 0)
const gchar *doms = g_getenv("G_MESSAGES_DEBUG");
if (!doms) {
g_setenv("G_MESSAGES_DEBUG", G_LOG_DOMAIN, 1);
@@ -53,7 +52,6 @@ static void spice_util_enable_debug_messages(void)
g_setenv("G_MESSAGES_DEBUG", newdoms, 1);
g_free(newdoms);
}
-#endif
}
/**