summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2014-06-16 19:57:06 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2014-06-16 21:54:33 +0200
commit43221fa1086974848fd44d7780ec825b881eafb6 (patch)
tree5acfb1c06a088e67daaf679ebab51dc78ea66c31
parent48d8fa788dbfb90daf81d1af24122ad7d13d8cb6 (diff)
kiosk: remove invalid unref
This unref doesn't seem to be related to any reference, although it was probably introduced in the first place to clear the floating ref, wrongly. See following commit for a working solution.
-rw-r--r--src/virt-viewer-app.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 7dbb7fc..6cf2747 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -844,7 +844,6 @@ virt_viewer_app_display_added(VirtViewerSession *session G_GNUC_UNUSED,
if (priv->kiosk) {
/* don't show extra monitors that don't fit on client */
g_debug("kiosk mode: skip extra monitors that don't fit on client");
- g_object_unref(display);
return;
}