forked from AuroraMiddleware/gtk
Avoid a compiler warning
This commit is contained in:
parent
3747e0fc4e
commit
821955a998
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user