Commit 75d9d02b authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

use gtk_container_forall, instead of gtk_container_foreach(). Makes

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

	* gtk/gtktooltip.c (find_widget_under_pointer),
	(child_location_foreach): use gtk_container_forall, instead of
	gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
	bug reported by Christian Persch).


svn path=/trunk/; revision=18436
parent 94cfbbfa
2007-07-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (find_widget_under_pointer),
(child_location_foreach): use gtk_container_forall, instead of
gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes
bug reported by Christian Persch).
2007-07-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (child_location_foreach): ignore invisible
......
......@@ -434,8 +434,8 @@ child_location_foreach (GtkWidget *child,
tmp.y = y;
tmp.container = child;
gtk_container_foreach (GTK_CONTAINER (child),
child_location_foreach, &tmp);
gtk_container_forall (GTK_CONTAINER (child),
child_location_foreach, &tmp);
if (tmp.child)
child_loc->child = tmp.child;
......@@ -526,8 +526,8 @@ find_widget_under_pointer (GdkWindow *window,
child_loc.container = event_widget;
child_loc.child = NULL;
gtk_container_foreach (GTK_CONTAINER (event_widget),
child_location_foreach, &child_loc);
gtk_container_forall (GTK_CONTAINER (event_widget),
child_location_foreach, &child_loc);
if (child_loc.child)
event_widget = child_loc.child;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment