diff options
author | Kristian Rietveld <kris@imendio.com> | 2007-07-10 17:47:10 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2007-07-10 17:47:10 +0000 |
commit | 75d9d02b7266b86305051c887651c3dfbb669018 (patch) | |
tree | 5fd4f283c15ca7217b0eaa1dd1a189f7bd0dc876 /gtk/gtktooltip.c | |
parent | 94cfbbfa152e28b9e163d1290c58961cc892f9c3 (diff) | |
download | gtk+-75d9d02b7266b86305051c887651c3dfbb669018.tar.gz |
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
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |