Commit 821955a9 authored by Matthias Clasen's avatar Matthias Clasen

Avoid a compiler warning

parent 3747e0fc
......@@ -1465,7 +1465,6 @@ _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget)
void
_gtk_tooltip_hide (GtkWidget *widget)
{
GtkWidget *toplevel;
GdkDisplay *display;
GtkTooltip *tooltip;
......@@ -1476,8 +1475,6 @@ _gtk_tooltip_hide (GtkWidget *widget)
if (!tooltip || !GTK_TOOLTIP_VISIBLE (tooltip) || !tooltip->tooltip_widget)
return;
toplevel = gtk_widget_get_toplevel (widget);
if (widget == tooltip->tooltip_widget)
gtk_tooltip_hide_tooltip (tooltip);
}
......
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