~ubuntu-branches/ubuntu/precise/telepathy-mission-control-5/precise

« back to all changes in this revision

Viewing changes to src/mcd-debug.h

Tags: upstream-5.5.2
ImportĀ upstreamĀ versionĀ 5.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#ifdef ENABLE_DEBUG
38
38
 
39
39
#define DEBUGGING (_mcd_debug_get_level () > 0)
40
 
#define DEBUG(format, ...) G_STMT_START {   \
41
 
    if (_mcd_debug_get_level () > 0)        \
42
 
        g_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__);    \
43
 
} G_STMT_END
 
40
#define DEBUG(format, ...) \
 
41
  mcd_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__)
44
42
 
45
43
#else /* !defined ENABLE_DEBUG */
46
44
 
66
64
 
67
65
void mcd_debug_print_tree (gpointer obj);
68
66
 
 
67
void mcd_debug (const gchar *format, ...);
 
68
 
69
69
G_END_DECLS
70
70
 
71
71
#endif /* __MCD_DEBUG_H__ */