diff src/prefs.c @ 4755:54fbd9769677

[gaim-migrate @ 5072] This fixes the debug window. It's probably not an ideal fix, but it works. Some kind of core/ui splittage here would be nice. I also made the gtk convo destroy function remove the timer to redraw animated buddy icons, if it exists. This doesn't really affect anything, since the redraw function checks to make sure the convo exists, but it's probably more better this way. Also, I meant to misspell "definitely." Really. I did. You don't believe me? It's ok, I wouldn't believe me either. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Mar 2003 22:57:58 +0000
parents fd44726a527f
children a1ea914506c9
line wrap: on
line diff
--- a/src/prefs.c	Thu Mar 13 22:02:12 2003 +0000
+++ b/src/prefs.c	Thu Mar 13 22:57:58 2003 +0000
@@ -1914,6 +1914,13 @@
 	}
 }
 
+void toggle_debug()
+{
+	misc_options ^= OPT_MISC_DEBUG;
+	show_debug();
+	save_prefs();
+}
+
 void debug_printf(char *fmt, ...)
 {
 	va_list ap;