changeset 5636:11233ca9f533

[gaim-migrate @ 6043] now you can close the debug window with your window manager again committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 01 Jun 2003 16:11:05 +0000
parents c6fb44711ab2
children 69c92ae58876
files src/gtkdebug.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkdebug.c	Sun Jun 01 16:09:03 2003 +0000
+++ b/src/gtkdebug.c	Sun Jun 01 16:11:05 2003 +0000
@@ -184,7 +184,7 @@
 debug_enabled_cb(const char *name, GaimPrefType type, gpointer value,
 				 gpointer data)
 {
-	if (debug_win == NULL)
+	if (value)
 		gaim_gtk_debug_window_show();
 	else
 		gaim_gtk_debug_window_hide();