diff options
Diffstat (limited to 'src/ka-applet-priv.h')
-rw-r--r-- | src/ka-applet-priv.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ka-applet-priv.h b/src/ka-applet-priv.h index eaf5b48..d9c0bd4 100644 --- a/src/ka-applet-priv.h +++ b/src/ka-applet-priv.h @@ -75,11 +75,8 @@ void ka_applet_destroy (KaApplet *self); int ka_applet_update_status (KaApplet *self, krb5_timestamp expiry); G_END_DECLS -#ifdef ENABLE_DEBUG -#define KA_DEBUG(fmt,...) \ - g_printf ("DEBUG: %s: " fmt "\n", __func__, ##__VA_ARGS__) -#else + #define KA_DEBUG(fmt,...) \ - do { } while (0) -#endif /* !ENABLE_DEBUG */ + g_debug ("%s: " fmt, __func__, ##__VA_ARGS__) + #endif |