forked from AuroraMiddleware/gtk
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:
parent
9c13bf70a7
commit
c66f2ca9eb
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user