diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-03 00:28:58 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:46 +0200 |
commit | dfb24fd56e8215f0bbf89f0361441af05920b780 (patch) | |
tree | 8be9486e38af2c66b2399512188fad81c2f66a91 /gtk/gtkoffscreenwindow.c | |
parent | 3a10216dd01c8d10df235b88c8942b2fda15689b (diff) | |
download | gtk+-dfb24fd56e8215f0bbf89f0361441af05920b780.tar.gz |
gtkcontainer: Add _gtk_container_*_need_resize internal accessors
gtkoffscreenwindow and gtkwindow need access to need_resize var
Diffstat (limited to 'gtk/gtkoffscreenwindow.c')
-rw-r--r-- | gtk/gtkoffscreenwindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c index 7e05fcb049..417003b8fc 100644 --- a/gtk/gtkoffscreenwindow.c +++ b/gtk/gtkoffscreenwindow.c @@ -184,8 +184,8 @@ gtk_offscreen_window_show (GtkWidget *widget) GTK_WIDGET_SET_FLAGS (widget, GTK_VISIBLE); container = GTK_CONTAINER (widget); - need_resize = container->need_resize || !gtk_widget_get_realized (widget); - container->need_resize = FALSE; + need_resize = _gtk_container_get_need_resize (container) || !gtk_widget_get_realized (widget); + _gtk_container_set_need_resize (container, FALSE); if (need_resize) gtk_offscreen_window_resize (widget); |