ghex r1202 - in trunk: . src



Author: jjongsma
Date: Sun Apr 13 16:46:32 2008
New Revision: 1202
URL: http://svn.gnome.org/viewvc/ghex?rev=1202&view=rev

Log:
Fix black background between hex and ascii widgets in some situations.

	* src/gtkhex.c (draw_shadow): remove the call to gdk_window_clear_area()
	since it can sometimes result in the background between the hex and ascii
	widgets becoming dark black.  Fixes Bug #527279


Modified:
   trunk/ChangeLog
   trunk/src/gtkhex.c

Modified: trunk/src/gtkhex.c
==============================================================================
--- trunk/src/gtkhex.c	(original)
+++ trunk/src/gtkhex.c	Sun Apr 13 16:46:32 2008
@@ -730,9 +730,6 @@
 	GtkHex *gh = GTK_HEX(widget);
 	gint border = GTK_CONTAINER(widget)->border_width;
 	gint x;
-	
-	gdk_window_clear_area (widget->window, area->x, area->y,
-						   area->width, area->height);
 
 	x = border;
 	if(gh->show_offsets) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]