Commit 94cfbbfa authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

ignore invisible (!drawable) widgets. (Fixes bug reported by Paolo

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

	* gtk/gtktooltip.c (child_location_foreach): ignore invisible
	(!drawable) widgets.  (Fixes bug reported by Paolo Borelli).


svn path=/trunk/; revision=18435
parent b7c97383
2007-07-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (child_location_foreach): ignore invisible
(!drawable) widgets. (Fixes bug reported by Paolo Borelli).
2007-07-10 Matthias Clasen <mclasen@redhat.com>
* README.in: Make sure all deprecations are mentioned.
......
......@@ -414,6 +414,10 @@ child_location_foreach (GtkWidget *child,
gint x, y;
struct ChildLocation *child_loc = data;
/* Ignore invisible widgets */
if (!GTK_WIDGET_DRAWABLE (child))
return;
if (!child_loc->child &&
gtk_widget_translate_coordinates (child_loc->container, child,
child_loc->x, child_loc->y,
......
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