ghex r1209 - in trunk: . src



Author: jjongsma
Date: Mon May  5 01:15:07 2008
New Revision: 1209
URL: http://svn.gnome.org/viewvc/ghex?rev=1209&view=rev

Log:
* src/gtkhex.c: Don't move or resize the widget inside
gtk_hex_size_allocate() as this seems to trigger a positive feedback loop and
the window shrinks to its minimum size sometimes when the user attempts to
resize the window.  Fixes Bug #527277


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

Modified: trunk/src/gtkhex.c
==============================================================================
--- trunk/src/gtkhex.c	(original)
+++ trunk/src/gtkhex.c	Mon May  5 01:15:07 2008
@@ -1810,12 +1810,6 @@
 	recalc_displays(gh, alloc->width, alloc->height);
 
 	w->allocation = *alloc;
-	if(GTK_WIDGET_REALIZED(w))
-		gdk_window_move_resize (w->window,
-								alloc->x, 
-								alloc->y,
-								alloc->width, 
-								alloc->height);
 
 	border_width = GTK_CONTAINER(w)->border_width;
 	xt = widget_get_xt(w);



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