diff src/prefs.c @ 18:99d91a6c2fbf

[gaim-migrate @ 27] Yet another patch by Eric. Someone needs to stop this boy :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 23 Mar 2000 18:40:39 +0000
parents 34db9f242899
children 05077cb276d4
line wrap: on
line diff
--- a/src/prefs.c	Thu Mar 23 12:44:52 2000 +0000
+++ b/src/prefs.c	Thu Mar 23 18:40:39 2000 +0000
@@ -103,7 +103,7 @@
 {
         display_options = display_options ^ (int)option;
 
-	update_button_pix();
+	if (blist) update_button_pix();
 
 	save_prefs();
 }
@@ -138,7 +138,7 @@
 		update_num_groups();
 	if (data == &showidle || data == &showpix)
 		update_show_idlepix();
-	if (data == &button_pix)
+	if (data == &button_pix && blist)
                 update_button_pix();
         if (data == &transparent)
                 update_transparency();
@@ -1006,7 +1006,7 @@
 
 void debug_print(char *chars)
 {
-	if(general_options & OPT_GEN_DEBUG)
+	if(general_options & OPT_GEN_DEBUG && dw)
             gtk_text_insert(GTK_TEXT(dw->entry),NULL, NULL, NULL, chars, strlen(chars));
 #ifdef DEBUG
         printf("%s\n", chars);