diff src/globals.c @ 227:41fc4bfc8b25

Add a debug level spinner at the end of Preferences > Advanced. One can now enable debug mode without restarting geeqie. A possibility to disable all debugging code and related options at compile time was added.
author zas_
date Thu, 03 Apr 2008 17:15:49 +0000
parents 3c89da4aef95
children 9995c5fb202a
line wrap: on
line diff
--- a/src/globals.c	Thu Apr 03 14:35:03 2008 +0000
+++ b/src/globals.c	Thu Apr 03 17:15:49 2008 +0000
@@ -105,7 +105,9 @@
 
 gint dupe_custom_threshold = 99;
 
+#ifdef DEBUG
 gint debug = FALSE;
+#endif
 
 /* layout */
 gchar *layout_order = NULL;