From 244f543be876a33e22787e53078d2be7174b833b Mon Sep 17 00:00:00 2001 From: kwm Date: Thu, 27 Jun 2013 13:17:35 +0000 Subject: Make sure to init upower. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18601 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-gnome-session_gsm-consolekit.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x11/gnome-session3/files/patch-gnome-session_gsm-consolekit.c diff --git a/x11/gnome-session3/files/patch-gnome-session_gsm-consolekit.c b/x11/gnome-session3/files/patch-gnome-session_gsm-consolekit.c new file mode 100644 index 000000000..96e771191 --- /dev/null +++ b/x11/gnome-session3/files/patch-gnome-session_gsm-consolekit.c @@ -0,0 +1,12 @@ +--- gnome-session/gsm-consolekit.c.orig 2013-06-27 14:49:15.000000000 +0200 ++++ gnome-session/gsm-consolekit.c 2013-06-27 15:09:02.000000000 +0200 +@@ -233,6 +233,9 @@ + + manager->priv = GSM_CONSOLEKIT_GET_PRIVATE (manager); + ++ /* init upower */ ++ manager->priv->up_client = up_client_new (); ++ + error = NULL; + + if (!gsm_consolekit_ensure_ck_connection (manager, &error)) { -- cgit v1.2.3