From 75d9d02b7266b86305051c887651c3dfbb669018 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Tue, 10 Jul 2007 17:47:10 +0000 Subject: use gtk_container_forall, instead of gtk_container_foreach(). Makes 2007-07-10 Kristian Rietveld * 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 --- gtk/gtktooltip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk/gtktooltip.c') diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 045f9b182d..5b137de794 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -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; -- cgit v1.2.1