forked from AuroraMiddleware/gtk
gtkwindow: Do not leak GtkPointerFocus
gtk_window_add_pointer_focus() increments the refcount, which means the caller should be dropping its own.
This commit is contained in:
parent
a72c735b74
commit
4772fc2d42
@ -11375,6 +11375,7 @@ gtk_window_update_pointer_focus (GtkWindow *window,
|
||||
{
|
||||
focus = gtk_pointer_focus_new (window, target, device, sequence, x, y);
|
||||
gtk_window_add_pointer_focus (window, focus);
|
||||
gtk_pointer_focus_unref (focus);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user