summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-18 14:45:42 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-18 15:19:04 +0100
commit395a44bd4744c22cfd261e86db3f17516efed982 (patch)
tree4bbdc8146091753016fe9fdc10462eebf5a4d0e3
parente06c822023ac2f5d2b2dae50dd813f4a0d5e908b (diff)
Fix indentation
-rw-r--r--src/virt-viewer-app.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 789cb88..e30df85 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -680,20 +680,20 @@ virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type)
} else
#endif
#ifdef HAVE_SPICE_GTK
- if (g_ascii_strcasecmp(type, "spice") == 0) {
- GtkWindow *window = virt_viewer_window_get_window(priv->main_window);
- virt_viewer_app_trace(self, "Guest %s has a %s display\n",
- priv->guest_name, type);
- priv->session = virt_viewer_session_spice_new(window);
- } else
+ if (g_ascii_strcasecmp(type, "spice") == 0) {
+ GtkWindow *window = virt_viewer_window_get_window(priv->main_window);
+ virt_viewer_app_trace(self, "Guest %s has a %s display\n",
+ priv->guest_name, type);
+ priv->session = virt_viewer_session_spice_new(window);
+ } else
#endif
- {
- virt_viewer_app_trace(self, "Guest %s has unsupported %s display type\n",
- priv->guest_name, type);
- virt_viewer_app_simple_message_dialog(self, _("Unknown graphic type for the guest %s"),
- priv->guest_name);
- return -1;
- }
+ {
+ virt_viewer_app_trace(self, "Guest %s has unsupported %s display type\n",
+ priv->guest_name, type);
+ virt_viewer_app_simple_message_dialog(self, _("Unknown graphic type for the guest %s"),
+ priv->guest_name);
+ return -1;
+ }
g_signal_connect(priv->session, "session-initialized",
G_CALLBACK(virt_viewer_app_initialized), self);