Calculate the buttons size request before using it. Fixes #61696.

2001-10-29  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
	the buttons size request before using it. Fixes #61696.
This commit is contained in:
Anders Carlsson 2001-10-29 16:48:56 +00:00 committed by Anders Carlsson
parent 06b4ef6517
commit 62adef452e
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1,3 +1,8 @@
2001-10-29 Anders Carlsson <andersca@gnu.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
the buttons size request before using it. Fixes #61696.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
@ -85,6 +90,7 @@
file. Install import libraries.
2001-10-29 Anders Carlsson <andersca@gnu.org>
>>>>>>> 1.2482
* gtk/gtkiconfactory.c (get_default_icons): Fix build.

View File

@ -1380,6 +1380,8 @@ gtk_tree_view_size_request (GtkWidget *widget,
tree_view = GTK_TREE_VIEW (widget);
gtk_tree_view_size_request_buttons (tree_view);
requisition->width = tree_view->priv->width;
requisition->height = tree_view->priv->height + tree_view->priv->header_height;
@ -1395,8 +1397,6 @@ gtk_tree_view_size_request (GtkWidget *widget,
if (GTK_WIDGET_VISIBLE (child->widget))
gtk_widget_size_request (child->widget, &child_requisition);
}
gtk_tree_view_size_request_buttons (tree_view);
}
/* GtkWidget::size_allocate helper */