remote-viewer: Avoid simple_message_dialog() when errors can be propagated

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

Related: rhbz#1085216
This commit is contained in:
Fabiano Fidêncio 2015-03-26 23:09:21 +01:00
parent ffe19f6ece
commit f580f1ea54

View File

@ -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;
}