[gnome-builder/wip/chergert/flatpak-repo: 22/29] flatpak: fix connection with NULL transfer object




commit 5bcb3ae5d1da1f2871157a622bd1d462d082d59f
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 25 13:39:52 2021 -0700

    flatpak: fix connection with NULL transfer object

 src/plugins/flatpak/gbp-flatpak-runtime-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runtime-provider.c 
b/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
index ca30a3369..e33084313 100644
--- a/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
+++ b/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
@@ -426,7 +426,7 @@ gbp_flatpak_runtime_provider_bootstrap (IdeTask      *task,
       g_signal_connect_object (ide_task_get_cancellable (task),
                                "cancelled",
                                G_CALLBACK (ipc_flatpak_transfer_emit_cancel),
-                               state->transfer,
+                               transfer,
                                G_CONNECT_SWAPPED);
       g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (transfer),
                                         g_dbus_proxy_get_connection (G_DBUS_PROXY (service)),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]