summaryrefslogtreecommitdiff
path: root/gio/fen/fen-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/fen/fen-data.c')
-rw-r--r--gio/fen/fen-data.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gio/fen/fen-data.c b/gio/fen/fen-data.c
index e49e9f6a6..13b2fe10b 100644
--- a/gio/fen/fen-data.c
+++ b/gio/fen/fen-data.c
@@ -43,11 +43,12 @@
#define INIT_CHANGES_NUM 2
#define BASE_NUM 2
-#define FD_W if (fd_debug_enabled) g_warning
#ifdef GIO_COMPILATION
+#define FD_W if (fd_debug_enabled) g_warning
static gboolean fd_debug_enabled = FALSE;
#else
-static gboolean fd_debug_enabled = TRUE;
+#include "gam_error.h"
+#define FD_W(...) GAM_DEBUG(DEBUG_INFO, __VA_ARGS__)
#endif
G_LOCK_EXTERN (fen_lock);