Commit 92ddf144 authored by William Jon McCann's avatar William Jon McCann Committed by Matthias Clasen

Don't leak a ref to the tooltip window
parent 9bd408a5
......@@ -206,7 +206,7 @@ gtk_tooltip_init (GtkTooltip *tooltip)
tooltip->last_window = NULL;
window = g_object_ref (gtk_window_new (GTK_WINDOW_POPUP));
window = gtk_window_new (GTK_WINDOW_POPUP);
screen = gtk_widget_get_screen (window);
visual = gdk_screen_get_rgba_visual (screen);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment