handle no-window and regular widgets seperately.

2007-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
	no-window and regular widgets seperately.

	* gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
	be zero.


svn path=/trunk/; revision=18502
This commit is contained in:
Kristian Rietveld
2007-07-19 15:03:18 +00:00
committed by Kristian Rietveld
parent 7b2e82f5d0
commit 9719e5fb3c
3 changed files with 26 additions and 5 deletions

View File

@ -15274,7 +15274,7 @@ gtk_tree_view_set_tooltip_cell (GtkTreeView *tree_view,
}
else
{
rect.x = GTK_WIDGET (tree_view)->allocation.x;
rect.x = 0;
rect.width = GTK_WIDGET (tree_view)->allocation.width;
}