ghex r1214 - in trunk: . src



Author: jjongsma
Date: Wed Aug 13 04:26:52 2008
New Revision: 1214
URL: http://svn.gnome.org/viewvc/ghex?rev=1214&view=rev

Log:
Revert "* src/gtkhex.c: Don't move or resize the widget inside"

This reverts commit fc8fddcd35a7e78799e3943cc458c54317bdfe12.


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

Modified: trunk/src/gtkhex.c
==============================================================================
--- trunk/src/gtkhex.c	(original)
+++ trunk/src/gtkhex.c	Wed Aug 13 04:26:52 2008
@@ -1810,6 +1810,12 @@
 	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]