Signed-off-by: Francois Gouget <fgouget@xxxxxxxxxxxxxxx> --- Of course a better solution would be to figure out whether this is still needed, whether this executes in the main thread or not, etc. src/spice-gtk-session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spice-gtk-session.c b/src/spice-gtk-session.c index 7bed005..7ec2a57 100644 --- a/src/spice-gtk-session.c +++ b/src/spice-gtk-session.c @@ -810,9 +810,11 @@ static void clipboard_get(GtkClipboard *clipboard, /* apparently, this is needed to avoid dead-lock, from gtk_dialog_run */ + G_GNUC_BEGIN_IGNORE_DEPRECATIONS gdk_threads_leave(); g_main_loop_run(ri.loop); gdk_threads_enter(); + G_GNUC_END_IGNORE_DEPRECATIONS cleanup: g_clear_pointer(&ri.loop, g_main_loop_unref); -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel