]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
More coding style fixes
authorRobert Ancell <robert.ancell@canonical.com>
Sun, 14 Apr 2013 22:13:48 +0000 (10:13 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Sun, 14 Apr 2013 22:13:48 +0000 (10:13 +1200)
liblightdm-gobject/power.c
liblightdm-qt/power.cpp

index 2137766c601bf65c46e2da5e24b6c446844d9037..6df237b9dd061402df31a9605f1b8b4123ba4e68 100644 (file)
@@ -268,7 +268,7 @@ lightdm_shutdown (GError **error)
 {
     gboolean function_result;
 
-    function_result = login1_call_function ("PowerOff", g_variant_new("(b)",0), TRUE, error);
+    function_result = login1_call_function ("PowerOff", g_variant_new ("(b)", 0), TRUE, error);
     if (!function_result)
           function_result = ck_call_function ("Stop", TRUE, error);
 
index 6f48a0dc15aa620d66628bee82720ebbb7af7a30..fc2594c3bffbe3e89d04260f2d00f3b24ada2ca1 100644 (file)
@@ -100,7 +100,7 @@ bool PowerInterface::canShutdown()
 void PowerInterface::shutdown()
 {
     if (d->login1Interface->isValid())
-        d->login1Interface->call("PowerOff",false);
+        d->login1Interface->call("PowerOff", false);
     else
         d->consoleKitInterface->call("Stop");
 }