keybindings: Reindent

This commit is contained in:
Jasper St. Pierre 2014-02-01 19:22:56 -05:00
parent 8905bd2280
commit e04a55d1a2

View File

@ -4089,28 +4089,28 @@ handle_switch_vt (MetaDisplay *display,
MetaKeyBinding *binding, MetaKeyBinding *binding,
gpointer dummy) gpointer dummy)
{ {
gint vt = binding->handler->data; gint vt = binding->handler->data;
MetaWaylandCompositor *compositor; MetaWaylandCompositor *compositor;
MetaLauncher *launcher; MetaLauncher *launcher;
compositor = meta_wayland_compositor_get_default (); compositor = meta_wayland_compositor_get_default ();
launcher = meta_wayland_compositor_get_launcher (compositor); launcher = meta_wayland_compositor_get_launcher (compositor);
if (launcher) if (launcher)
{ {
GError *error; GError *error;
error = NULL; error = NULL;
if (!meta_launcher_activate_vt (launcher, vt, &error)) if (!meta_launcher_activate_vt (launcher, vt, &error))
{ {
g_warning ("Failed to switch VT: %s", error->message); g_warning ("Failed to switch VT: %s", error->message);
g_error_free (error); g_error_free (error);
} }
} }
else else
{ {
g_debug ("Ignoring VT switch keybinding, not running as VT manager"); g_debug ("Ignoring VT switch keybinding, not running as VT manager");
} }
} }
#endif #endif