mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Merge branch 'primary' into 'main'
gdk: don't leak wayland primary selection offers See merge request GNOME/gtk!4458
This commit is contained in:
commit
64a1a1dd6b
@ -101,6 +101,7 @@ gdk_wayland_primary_claim_remote (GdkWaylandPrimary *cb,
|
||||
{
|
||||
GDK_DISPLAY_NOTE (gdk_clipboard_get_display (GDK_CLIPBOARD (cb)), CLIPBOARD, g_message ("%p: Ignoring clipboard offer for self", cb));
|
||||
gdk_content_formats_unref (formats);
|
||||
g_clear_pointer (&offer, zwp_primary_selection_offer_v1_destroy);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user