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
This commit is contained in:
committed by
Kristian Rietveld
parent
b7c973834c
commit
94cfbbfa15
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2007-07-10 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* README.in: Make sure all deprecations are mentioned.
|
* README.in: Make sure all deprecations are mentioned.
|
||||||
|
|||||||
@ -414,6 +414,10 @@ child_location_foreach (GtkWidget *child,
|
|||||||
gint x, y;
|
gint x, y;
|
||||||
struct ChildLocation *child_loc = data;
|
struct ChildLocation *child_loc = data;
|
||||||
|
|
||||||
|
/* Ignore invisible widgets */
|
||||||
|
if (!GTK_WIDGET_DRAWABLE (child))
|
||||||
|
return;
|
||||||
|
|
||||||
if (!child_loc->child &&
|
if (!child_loc->child &&
|
||||||
gtk_widget_translate_coordinates (child_loc->container, child,
|
gtk_widget_translate_coordinates (child_loc->container, child,
|
||||||
child_loc->x, child_loc->y,
|
child_loc->x, child_loc->y,
|
||||||
|
|||||||
Reference in New Issue
Block a user