forked from AuroraMiddleware/gtk
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:
parent
adb892f2c9
commit
cdcb272fdf
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -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>
|
Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtklayout.c (gtk_layout_get_property):
|
* gtk/gtklayout.c (gtk_layout_get_property):
|
||||||
|
@ -677,7 +677,7 @@ gtk_viewport_size_allocate (GtkWidget *widget,
|
|||||||
if (!viewport->hadjustment)
|
if (!viewport->hadjustment)
|
||||||
gtk_viewport_set_hadjustment (viewport, NULL);
|
gtk_viewport_set_hadjustment (viewport, NULL);
|
||||||
if (!viewport->vadjustment)
|
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
|
/* If our size changed, and we have a shadow, queue a redraw on widget->window to
|
||||||
* redraw the shadow correctly.
|
* redraw the shadow correctly.
|
||||||
|
Loading…
Reference in New Issue
Block a user