Correctly redraw when gtk-scrolled-window-placement is changed after the

2007-07-22  Ross Burton  <ross@openedhand.com>

	* gtk/gtkscrolledwindow.c:
	Correctly redraw when gtk-scrolled-window-placement is changed
	after the widget is realised (#458102)

svn path=/trunk/; revision=18523
This commit is contained in:
Ross Burton 2007-07-22 19:16:41 +00:00 committed by Ross Burton
parent 6ec22dfc1d
commit 7ea3c88056
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-07-22 Ross Burton <ross@openedhand.com>
* gtk/gtkscrolledwindow.c:
Correctly redraw when gtk-scrolled-window-placement is changed
after the widget is realised (#458102)
2007-07-22 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c: Some documentation fixes.

View File

@ -904,7 +904,7 @@ traverse_container (GtkWidget *widget,
if (GTK_IS_SCROLLED_WINDOW (widget))
{
gtk_scrolled_window_update_real_placement (GTK_SCROLLED_WINDOW (widget));
gtk_widget_queue_draw (widget);
gtk_widget_queue_resize (widget);
}
else if (GTK_IS_CONTAINER (widget))
gtk_container_forall (GTK_CONTAINER (widget), traverse_container, NULL);