mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-06 02:17:57 +00:00
Fix check of virt_viewer_app_initial_connect return value
Commit 13f493200 changed virt_viewer_app_initial_connect to return a
gboolean rather than an int, but one call site was not updated to the
new convention, and was still checking for a negative value rather than
for FALSE in order to detect failures.
This commit is contained in:
parent
b94859e30d
commit
1c341e8cb3
@ -1331,7 +1331,7 @@ virt_viewer_app_connect_timer(void *opaque)
|
||||
g_debug("Connect timer fired");
|
||||
|
||||
if (!priv->active &&
|
||||
virt_viewer_app_initial_connect(self, NULL) < 0)
|
||||
!virt_viewer_app_initial_connect(self, NULL))
|
||||
gtk_main_quit();
|
||||
|
||||
if (priv->active) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user