summaryrefslogtreecommitdiff
path: root/gio/fen/fen-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/fen/fen-helper.c')
-rw-r--r--gio/fen/fen-helper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gio/fen/fen-helper.c b/gio/fen/fen-helper.c
index 599cbd5c9..1b2fc218c 100644
--- a/gio/fen/fen-helper.c
+++ b/gio/fen/fen-helper.c
@@ -35,11 +35,12 @@
#include "gam_protocol.h"
#endif
-#define FH_W if (fh_debug_enabled) g_warning
#ifdef GIO_COMPILATION
+#define FH_W if (fh_debug_enabled) g_warning
static gboolean fh_debug_enabled = FALSE;
#else
-static gboolean fh_debug_enabled = TRUE;
+#include "gam_error.h"
+#define FH_W(...) GAM_DEBUG(DEBUG_INFO, __VA_ARGS__)
#endif
G_LOCK_EXTERN (fen_lock);