summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-27 21:17:35 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-27 21:17:35 +0800
commit244f543be876a33e22787e53078d2be7174b833b (patch)
treee5ee21090f0cfd4afd081b1d9ab1cd7cae2211ce
parent05f9fa48f402edec883152ff9729a9fb27c6a810 (diff)
downloadmarcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar.gz
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar.bz2
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar.lz
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar.xz
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.tar.zst
marcuscom-ports-244f543be876a33e22787e53078d2be7174b833b.zip
Make sure to init upower.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18601 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/gnome-session3/files/patch-gnome-session_gsm-consolekit.c12
1 files changed, 12 insertions, 0 deletions
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)) {