File 0007-fix-crash-while-calling-inhibit-into-systemd-login.patch of Package PackageKit

From 8929180f3564a23fe6abc93662e7244db2e03d13 Mon Sep 17 00:00:00 2001
From: Stephan Kulow <coolo@suse.de>
Date: Mon, 21 Jan 2013 12:03:52 +0100
Subject: [PATCH 1/2] fix crash while calling inhibit into systemd-login

---
 src/pk-engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pk-engine.c b/src/pk-engine.c
index facc5f9..df45c63 100644
--- a/src/pk-engine.c
+++ b/src/pk-engine.c
@@ -265,7 +265,7 @@ pk_engine_inhibit (PkEngine *engine)
 	/* block shutdown and idle */
 	res = g_dbus_proxy_call_sync (engine->priv->logind_proxy,
 				      "Inhibit",
-				      g_variant_new ("ssss",
+				      g_variant_new ("(ssss)",
 						     "shutdown:idle",
 						     "Package Updater",
 						     "Package Update in Progress",
-- 
1.8.1.1

openSUSE Build Service is sponsored by