summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <etrunko@redhat.com>2017-01-13 13:59:27 (GMT)
committerEduardo Lima (Etrunko) <etrunko@redhat.com>2017-01-13 20:07:49 (GMT)
commit3dd077b060243a6edcc006f84abcfcad30bdb771 (patch)
tree34c65f47b61eb7517afd97276279cf8fa43f8fb4
parentd7ef44d44f4468b6fd792ec492025d6d5df11a08 (diff)
downloadvirt-viewer-master.zip
virt-viewer-master.tar.gz
virt-viewer-master.tar.xz
remote-viewer: Extend #ifdef HAVE_OVIRT blockHEADmaster
The #endif is closing a #ifdef HAVE_OVIRT block, while another one is opened right next, so there is no need to have those lines. Also, due to the large amount of source code in between, add a small comment on the last #endif to identify what it refers to. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
-rw-r--r--src/remote-viewer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index 6d29bf2..13c6e7c 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -1005,9 +1005,6 @@ error:
return success;
}
-#endif
-
-#ifdef HAVE_OVIRT
static OvirtVm *
choose_vm(GtkWindow *main_window,
char **vm_name,
@@ -1047,7 +1044,7 @@ choose_vm(GtkWindow *main_window,
return vm;
}
-#endif
+#endif /* HAVE_OVIRT */
static void
remote_viewer_recent_add(gchar *uri, const gchar *mime_type)