Blame SOURCES/0005-remote-viewer-Extend-ifdef-HAVE_OVIRT-block.patch
|
|
48c875 |
From 7a808362a1cad3cf82613038d891415a638b3b04 Mon Sep 17 00:00:00 2001
|
|
|
48c875 |
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
|
|
|
48c875 |
Date: Fri, 13 Jan 2017 11:59:27 -0200
|
|
|
48c875 |
Subject: [PATCH 05/26] remote-viewer: Extend #ifdef HAVE_OVIRT block
|
|
|
48c875 |
|
|
|
48c875 |
The #endif is closing a #ifdef HAVE_OVIRT block, while another one is
|
|
|
48c875 |
opened right next, so there is no need to have those lines. Also, due to
|
|
|
48c875 |
the large amount of source code in between, add a small comment on the
|
|
|
48c875 |
last #endif to identify what it refers to.
|
|
|
48c875 |
|
|
|
48c875 |
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
|
|
|
48c875 |
---
|
|
|
48c875 |
src/remote-viewer.c | 5 +----
|
|
|
48c875 |
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
48c875 |
|
|
|
48c875 |
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
|
|
|
48c875 |
index 6d29bf2..13c6e7c 100644
|
|
|
48c875 |
--- a/src/remote-viewer.c
|
|
|
48c875 |
+++ b/src/remote-viewer.c
|
|
|
48c875 |
@@ -1005,9 +1005,6 @@ error:
|
|
|
48c875 |
return success;
|
|
|
48c875 |
}
|
|
|
48c875 |
|
|
|
48c875 |
-#endif
|
|
|
48c875 |
-
|
|
|
48c875 |
-#ifdef HAVE_OVIRT
|
|
|
48c875 |
static OvirtVm *
|
|
|
48c875 |
choose_vm(GtkWindow *main_window,
|
|
|
48c875 |
char **vm_name,
|
|
|
48c875 |
@@ -1047,7 +1044,7 @@ choose_vm(GtkWindow *main_window,
|
|
|
48c875 |
|
|
|
48c875 |
return vm;
|
|
|
48c875 |
}
|
|
|
48c875 |
-#endif
|
|
|
48c875 |
+#endif /* HAVE_OVIRT */
|
|
|
48c875 |
|
|
|
48c875 |
static void
|
|
|
48c875 |
remote_viewer_recent_add(gchar *uri, const gchar *mime_type)
|
|
|
48c875 |
--
|
|
|
48c875 |
2.12.0
|
|
|
48c875 |
|