mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
Don't leak a ref to the tooltip window
https://bugzilla.gnome.org/show_bug.cgi?id=683896
This commit is contained in:
parent
9bd408a58f
commit
92ddf14457
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user