Avoid a compiler warning

This commit is contained in:
Matthias Clasen 2014-07-21 14:00:36 -04:00
parent 3747e0fc4e
commit 821955a998

View File

@ -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);
}