# HG changeset patch # User Nathan Walp # Date 1053965506 0 # Node ID 933739f789f939876f5470c488fbdb2da3169ecd # Parent 0aa4d089125c96d8fbee5dea5d14a5aa6d80df6e [gaim-migrate @ 5935] ding, dong, OPT_MISC_DEBUG is dead. committer: Tailor Script diff -r 0aa4d089125c -r 933739f789f9 src/gtkdebug.c --- a/src/gtkdebug.c Mon May 26 15:44:21 2003 +0000 +++ b/src/gtkdebug.c Mon May 26 16:11:46 2003 +0000 @@ -232,7 +232,7 @@ ts_s = g_strdup(""); } - if ((misc_options & OPT_MISC_DEBUG) && + if (gaim_prefs_get_bool("/gaim/gtk/debug/enabled") && debug_win != NULL && !debug_win->paused) { gchar *esc_s, *cat_s, *s; diff -r 0aa4d089125c -r 933739f789f9 src/gtkprefs.c --- a/src/gtkprefs.c Mon May 26 15:44:21 2003 +0000 +++ b/src/gtkprefs.c Mon May 26 16:11:46 2003 +0000 @@ -1993,13 +1993,7 @@ { misc_options ^= option; - if (option == OPT_MISC_DEBUG) { - if ((misc_options & OPT_MISC_DEBUG)) - gaim_gtk_debug_window_show(); - else - gaim_gtk_debug_window_hide(); - } - else if(option == OPT_MISC_USE_SERVER_ALIAS) { + if(option == OPT_MISC_USE_SERVER_ALIAS) { /* XXX blist reset the aliases here */ gaim_conversation_foreach(gaim_conversation_autoset_title); } diff -r 0aa4d089125c -r 933739f789f9 src/main.c --- a/src/main.c Mon May 26 15:44:21 2003 +0000 +++ b/src/main.c Mon May 26 16:11:46 2003 +0000 @@ -923,7 +923,7 @@ opt_user_arg = NULL; } - if (misc_options & OPT_MISC_DEBUG) + if (gaim_prefs_get_bool("/gaim/gtk/debug/enabled")) gaim_gtk_debug_window_show(); static_proto_init();