[virt-viewer 6/8 v4] remote-viewer: Avoid simple_message_dialog() when errors can be propagated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove the dialog used to report errors when create_session() fails,
propagating the error is enough and it is already done.

Related: rhbz#1085216
---
 src/remote-viewer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index c870aba..b172056 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -1222,7 +1222,7 @@ remote_viewer_start(VirtViewerApp *app, GError **err)
 
     if (priv->controller) {
         if (!virt_viewer_app_create_session(app, "spice", &error)) {
-            virt_viewer_app_simple_message_dialog(app, _("Couldn't create a Spice session"));
+            g_debug("Couldn't create a Spice session");
             goto cleanup;
         }
 
-- 
2.3.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux