mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
clipboard: GdkContentProviderUnion should return after writing the first matched format
It continues trying with the other providers due to a missing early return.
This commit is contained in:
parent
42ca760f9c
commit
739137ccf9
@ -302,6 +302,7 @@ gdk_content_provider_union_write_mime_type_async (GdkContentProvider *provid
|
||||
gdk_content_provider_union_write_mime_type_done,
|
||||
task);
|
||||
gdk_content_formats_unref (formats);
|
||||
return;
|
||||
}
|
||||
gdk_content_formats_unref (formats);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user