tooltip: Avoid some possibly uninitialized values

This commit is contained in:
Timm Bäder 2018-04-12 08:20:28 +02:00
parent 26f962eead
commit 497d2f8c50

View File

@ -1022,7 +1022,7 @@ gtk_tooltip_start_delay (GdkDisplay *display)
void
_gtk_tooltip_focus_in (GtkWidget *widget)
{
gint x, y;
gint x = 0, y = 0;
gboolean return_value = FALSE;
GdkDisplay *display;
GtkTooltip *tooltip;
@ -1193,7 +1193,7 @@ gtk_tooltip_handle_event_internal (GdkEventType event_type,
gdouble dx,
gdouble dy)
{
gint x, y;
int x = 0, y = 0;
GtkWidget *has_tooltip_widget;
GdkDisplay *display;
GtkTooltip *current_tooltip;