changeset 10769:62fde478eb13

[gaim-migrate @ 12375] Last one. I promise. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 02 Apr 2005 03:09:44 +0000
parents 97a7d3f9f0c6
children cb94f248a74e
files src/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Sat Apr 02 03:02:17 2005 +0000
+++ b/src/gtkimhtml.c	Sat Apr 02 03:09:44 2005 +0000
@@ -551,7 +551,8 @@
 						       &redraw_rect.x,
 						       &redraw_rect.y);
 		
-		if (GTK_IMHTML(widget)->editable || GTK_IMHTML(widget)->wbfo) {
+		if (GTK_IMHTML(widget)->edit.backcolor &&
+		    (GTK_IMHTML(widget)->editable || GTK_IMHTML(widget)->wbfo)) {
 			gdk_color_parse(GTK_IMHTML(widget)->edit.backcolor, &color);
 			gdk_gc_set_rgb_fg_color(gc, &color);
 			gdk_draw_rectangle(event->window,