small but important fix to force vadjustments at size_alocate time from

Wed Jan  9 13:20:14 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
        fix to force vadjustments at size_alocate time from Xavier Ordoquy
        <mcarkan@users.sourceforge.net>.
This commit is contained in:
Tim Janik 2002-01-09 12:24:03 +00:00 committed by Tim Janik
parent adb892f2c9
commit cdcb272fdf
8 changed files with 43 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -1,3 +1,9 @@
Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
* gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
fix to force vadjustments at size_alocate time from Xavier Ordoquy
<mcarkan@users.sourceforge.net>.
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
* gtk/gtklayout.c (gtk_layout_get_property):

View File

@ -677,7 +677,7 @@ gtk_viewport_size_allocate (GtkWidget *widget,
if (!viewport->hadjustment)
gtk_viewport_set_hadjustment (viewport, NULL);
if (!viewport->vadjustment)
gtk_viewport_set_hadjustment (viewport, NULL);
gtk_viewport_set_vadjustment (viewport, NULL);
/* If our size changed, and we have a shadow, queue a redraw on widget->window to
* redraw the shadow correctly.