forked from AuroraMiddleware/gtk
tooltip: Avoid some possibly uninitialized values
This commit is contained in:
parent
26f962eead
commit
497d2f8c50
@ -1022,7 +1022,7 @@ gtk_tooltip_start_delay (GdkDisplay *display)
|
|||||||
void
|
void
|
||||||
_gtk_tooltip_focus_in (GtkWidget *widget)
|
_gtk_tooltip_focus_in (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
gint x, y;
|
gint x = 0, y = 0;
|
||||||
gboolean return_value = FALSE;
|
gboolean return_value = FALSE;
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
GtkTooltip *tooltip;
|
GtkTooltip *tooltip;
|
||||||
@ -1193,7 +1193,7 @@ gtk_tooltip_handle_event_internal (GdkEventType event_type,
|
|||||||
gdouble dx,
|
gdouble dx,
|
||||||
gdouble dy)
|
gdouble dy)
|
||||||
{
|
{
|
||||||
gint x, y;
|
int x = 0, y = 0;
|
||||||
GtkWidget *has_tooltip_widget;
|
GtkWidget *has_tooltip_widget;
|
||||||
GdkDisplay *display;
|
GdkDisplay *display;
|
||||||
GtkTooltip *current_tooltip;
|
GtkTooltip *current_tooltip;
|
||||||
|
Loading…
Reference in New Issue
Block a user