[mutter/wayland] keybindings: Reindent



commit e04a55d1a2393c52756d134671963ac781ed7253
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Feb 1 19:22:56 2014 -0500

    keybindings: Reindent

 src/core/keybindings.c |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 01788c2..e6c6a88 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -4089,28 +4089,28 @@ handle_switch_vt (MetaDisplay     *display,
                   MetaKeyBinding  *binding,
                   gpointer         dummy)
 {
-    gint vt = binding->handler->data;
-    MetaWaylandCompositor *compositor;
-    MetaLauncher *launcher;
+  gint vt = binding->handler->data;
+  MetaWaylandCompositor *compositor;
+  MetaLauncher *launcher;
 
-    compositor = meta_wayland_compositor_get_default ();
-    launcher = meta_wayland_compositor_get_launcher (compositor);
+  compositor = meta_wayland_compositor_get_default ();
+  launcher = meta_wayland_compositor_get_launcher (compositor);
 
-    if (launcher)
-      {
-        GError *error;
+  if (launcher)
+    {
+      GError *error;
 
-        error = NULL;
-        if (!meta_launcher_activate_vt (launcher, vt, &error))
-          {
-            g_warning ("Failed to switch VT: %s", error->message);
-            g_error_free (error);
-          }
-      }
-    else
-      {
-        g_debug ("Ignoring VT switch keybinding, not running as VT manager");
-      }
+      error = NULL;
+      if (!meta_launcher_activate_vt (launcher, vt, &error))
+        {
+          g_warning ("Failed to switch VT: %s", error->message);
+          g_error_free (error);
+        }
+    }
+  else
+    {
+      g_debug ("Ignoring VT switch keybinding, not running as VT manager");
+    }
 }
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]