Commit 1cad322c authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

stop any pending tooltip timeout. (Fixes #406110, Carlos Garnacho).

2007-02-13  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
	pending tooltip timeout. (Fixes #406110, Carlos Garnacho).


svn path=/trunk/; revision=17290
parent 8c26e769
2007-02-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
......
......@@ -735,17 +735,20 @@ gtk_tooltip_show_tooltip (GdkDisplay *display)
static void
gtk_tooltip_hide_tooltip (GtkTooltip *tooltip)
{
if (!tooltip || !GTK_TOOLTIP_VISIBLE (tooltip))
if (!tooltip)
return;
tooltip->tooltip_widget = NULL;
if (tooltip->timeout_id)
{
g_source_remove (tooltip->timeout_id);
tooltip->timeout_id = 0;
}
if (!GTK_TOOLTIP_VISIBLE (tooltip))
return;
tooltip->tooltip_widget = NULL;
if (!tooltip->keyboard_mode_enabled)
{
guint timeout;
......
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