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:
Carlos Garcia Campos 2020-05-07 11:21:18 +02:00 committed by Carlos Garcia Campos
parent 42ca760f9c
commit 739137ccf9

View File

@ -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);
}