summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-07-23 11:17:17 +0000
committerphintuka <phintuka>2009-07-23 11:17:17 +0000
commit9838fde7e4f175be9bfb4c1d8c08df797485c36b (patch)
treef7974c0209db0f670f9b54968647654b85b7a104
parent5b50658d71c7a18b2560237f7e194beff77cee25 (diff)
downloadxineliboutput-9838fde7e4f175be9bfb4c1d8c08df797485c36b.tar.gz
xineliboutput-9838fde7e4f175be9bfb4c1d8c08df797485c36b.tar.bz2
Fixed segfault when dbus not running
-rw-r--r--tools/gnome_screensaver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gnome_screensaver.c b/tools/gnome_screensaver.c
index c12e5599..a23d4236 100644
--- a/tools/gnome_screensaver.c
+++ b/tools/gnome_screensaver.c
@@ -100,7 +100,7 @@ void gnome_screensaver_control(int enable)
G_TYPE_STRING, GS_APPLICATION_NAME,
G_TYPE_STRING, GS_REASON_FOR_INHIBIT,
G_TYPE_INVALID,
- G_TYPE_UINT, cookie,
+ G_TYPE_UINT, &cookie,
G_TYPE_INVALID);
/* If this fails, try the GNOME screensaver 2.14 API */