x11: Avoid a critical in clipboard data transfer

The handler we are calling here asserts that it gets
an interned string as mime_type. So give it one.

Fixes: #2736
This commit is contained in:
Matthias Clasen 2020-05-12 21:29:15 -04:00
parent 9c13bf70a7
commit c66f2ca9eb

View File

@ -892,7 +892,7 @@ gdk_x11_selection_output_streams_request (GdkDisplay *display,
target,
8,
timestamp);
handler (stream, target, user_data);
handler (stream, mime_type, user_data);
return TRUE;
}
}