mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user