mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-31 02:55:52 +00:00
Remove obsolete use of SpiceChannel:virt-viewer-display object data
Commit 0d58d9c72 removed the setting of the
SpiceChannel:virt-viewer-display object data, but there was still a
call to g_object_get_data() trying to use it. Since it's only used to
output a debug log, we can remove this call and fix up the debug log.
This commit is contained in:
parent
2f890cf2f5
commit
5c451b68c9
@ -775,8 +775,7 @@ virt_viewer_session_spice_channel_destroy(G_GNUC_UNUSED SpiceSession *s,
|
||||
}
|
||||
|
||||
if (SPICE_IS_DISPLAY_CHANNEL(channel)) {
|
||||
VirtViewerDisplay *display = g_object_get_data(G_OBJECT(channel), "virt-viewer-display");
|
||||
DEBUG_LOG("zap display channel (#%d, %p)", id, display);
|
||||
DEBUG_LOG("zap display channel (#%d)", id);
|
||||
}
|
||||
|
||||
if (SPICE_IS_PLAYBACK_CHANNEL(channel) && self->priv->audio) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user