[virt-tools-list] [virt-viewer 5/5] Fix warning when going in/out of fullscreen

Christophe Fergeau cfergeau at redhat.com
Thu Jun 26 19:41:34 UTC 2014


Going to fullscreen, and then exiting causes these messages to show up
on the console:
(remote-viewer:14481): GLib-CRITICAL **: Source ID 784 was not found
when attempting to remove it
---
 src/view/autoDrawer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/view/autoDrawer.c b/src/view/autoDrawer.c
index deb8111..cbf92de 100644
--- a/src/view/autoDrawer.c
+++ b/src/view/autoDrawer.c
@@ -325,6 +325,7 @@ ViewAutoDrawerUpdate(ViewAutoDrawer *that, // IN
 
    if (priv->delayConnection) {
       g_source_remove(priv->delayConnection);
+      priv->delayConnection = 0;
    }
 
    if (priv->forceClosing) {
-- 
1.9.3




More information about the virt-tools-list mailing list