Default disable all loggings. Fixed two macro nits.

2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>

	* fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
	Default disable all loggings.
	* fen/fen-kernel.c: (printevent), (port_add_kevent),
	(port_fetch_event_cb): Fixed two macro nits.


svn path=/trunk/; revision=6865
This commit is contained in:
Lin Ma
2008-04-21 02:40:40 +00:00
committed by Lin Ma
parent e4d486dc32
commit 6965703ad2
6 changed files with 44 additions and 17 deletions

View File

@@ -29,10 +29,16 @@
G_LOCK_EXTERN (fen_lock);
#define SCAN_MISSING_INTERVAL 4000 /* in milliseconds */
#ifdef GIO_COMPILATION
#define FM_W if (fm_debug_enabled) g_warning
gboolean fm_debug_enabled = FALSE;
#else
#include "gam_error.h"
#define FM_W(...) GAM_DEBUG(DEBUG_INFO, __VA_ARGS__)
#endif
/* global data structure for scan missing files */
gboolean fm_debug_enabled = TRUE;
static GList *missing_list = NULL;
static guint scan_missing_source_id = 0;