summaryrefslogtreecommitdiffstats
path: root/src/view
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-06-26 12:03:34 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-08-04 17:41:50 +0200
commit7d8abf39571b7d6f741d39da8d6e33f55a14cb23 (patch)
treeea870993d24a1f651b4d8e924d3e5ff79ce2f8ee /src/view
parent5dcd46c0b109128d2aaf001f16077960d84078d4 (diff)
downloadvirt-viewer-7d8abf39571b7d6f741d39da8d6e33f55a14cb23.tar.gz
virt-viewer-7d8abf39571b7d6f741d39da8d6e33f55a14cb23.tar.xz
virt-viewer-7d8abf39571b7d6f741d39da8d6e33f55a14cb23.zip
Fix warning when going in/out of fullscreen
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
Diffstat (limited to 'src/view')
-rw-r--r--src/view/autoDrawer.c1
1 files changed, 1 insertions, 0 deletions
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) {