From 435235b8a4bc8c78f1313db4db11e06f7815c3c4 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Fri, 1 Feb 2002 21:21:01 +0000 Subject: [PATCH] (committed this again -- broken pipe and ChangeLog update) Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use height - page_size not height - allocation->height (fixes #66269) --- ChangeLog | 2 +- ChangeLog.pre-2-0 | 2 +- ChangeLog.pre-2-10 | 2 +- ChangeLog.pre-2-2 | 2 +- ChangeLog.pre-2-4 | 2 +- ChangeLog.pre-2-6 | 2 +- ChangeLog.pre-2-8 | 2 +- gtk/gtktreeview.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a32ef4c2ad..cf93df6c25 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,7 +1,7 @@ Fri Feb 1 22:20:13 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_size_allocate): use - height - page_size not height - allocation->height + height - page_size not height - allocation->height (fixes #66269) Fri Feb 1 15:22:23 2002 Owen Taylor diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 5854332b20..84d2f16a14 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -1608,7 +1608,7 @@ gtk_tree_view_size_allocate (GtkWidget *widget, if (tree_view->priv->vadjustment->value + allocation->height > tree_view->priv->height) gtk_adjustment_set_value (tree_view->priv->vadjustment, - MAX (tree_view->priv->height - allocation->height, 0)); + MAX (tree_view->priv->height - tree_view->priv->vadjustment->page_size, 0)); gtk_adjustment_changed (tree_view->priv->vadjustment); if (GTK_WIDGET_REALIZED (widget))