parent
85dcae7d0a
commit
873dd53e0d
@ -1 +1 @@
|
||||
SOURCES/gnome-connections-46.0.tar.xz
|
||||
SOURCES/gnome-connections-47.0.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
6bbcb94ded274500558eb9b09480a7cb10ba48ae SOURCES/gnome-connections-46.0.tar.xz
|
||||
ea9349461647d9cccb57c5d488a40c4da579bb0a SOURCES/gnome-connections-47.0.tar.xz
|
||||
|
@ -1,31 +0,0 @@
|
||||
From cb992cb5b3099fdb4106d558f1aeba908267a075 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Kasik <mkasik@redhat.com>
|
||||
Date: Tue, 9 Apr 2024 11:01:01 +0200
|
||||
Subject: [PATCH] clipboard: Do not crash during disconnection
|
||||
|
||||
Disconnect handler of "owner-change" in finalize of
|
||||
FrdpChannelClipboard so that the handler is not called
|
||||
after the clipboard is finalized.
|
||||
|
||||
Fixes #50
|
||||
---
|
||||
src/frdp-channel-clipboard.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/frdp-channel-clipboard.c b/src/frdp-channel-clipboard.c
|
||||
index 2723c2d..ef82dbe 100644
|
||||
--- a/subprojects/gtk-frdp/src/frdp-channel-clipboard.c
|
||||
+++ b/subprojects/gtk-frdp/src/frdp-channel-clipboard.c
|
||||
@@ -203,6 +203,9 @@ frdp_channel_clipboard_finalize (GObject *object)
|
||||
FrdpChannelClipboard *self = (FrdpChannelClipboard *) object;
|
||||
FrdpChannelClipboardPrivate *priv = frdp_channel_clipboard_get_instance_private (self);
|
||||
|
||||
+ g_signal_handler_disconnect (priv->gtk_clipboard,
|
||||
+ priv->clipboard_owner_changed_id);
|
||||
+
|
||||
g_hash_table_unref (priv->remote_files_requests);
|
||||
fuse_session_unmount (priv->fuse_session);
|
||||
fuse_session_exit (priv->fuse_session);
|
||||
--
|
||||
2.44.0
|
||||
|
Loading…
Reference in new issue