Commit ef8bdfb7 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Call gtk_tooltip_hide_tooltip() even if the tooltip is not visible yet.

2007-07-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
        gtk_tooltip_hide_tooltip() even if the tooltip is not
        visible yet. This fixes annoying dangling tooltips
        on systray icons.


svn path=/trunk/; revision=18544
parent ffed09f2
2007-07-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
gtk_tooltip_hide_tooltip() even if the tooltip is not
visible yet. This fixes annoying dangling tooltips
on systray icons.
2007-07-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcachevalidator.c: Silence the validator.
......
......@@ -1118,7 +1118,7 @@ _gtk_tooltip_handle_event (GdkEvent *event)
/* Hide the tooltip when there's no new tooltip widget */
if (!has_tooltip_widget)
{
if (current_tooltip && GTK_TOOLTIP_VISIBLE (current_tooltip))
if (current_tooltip)
gtk_tooltip_hide_tooltip (current_tooltip);
return;
......
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