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:
Christophe Fergeau 2013-11-19 21:30:22 +01:00
parent 2f890cf2f5
commit 5c451b68c9

View File

@ -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) {