summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-03 21:00:51 +0200
committerStefano Karapetsas <[email protected]>2014-01-14 11:08:23 +0100
commit89ae8f6630a15f1aa30933aee7d5ef62089313f8 (patch)
treefd359df87290801f0ac9cba34cb6fc340fa8442a
parent2d926fad317e0b8636b33f03ecc488839c5ec638 (diff)
downloadmate-screensaver-89ae8f6630a15f1aa30933aee7d5ef62089313f8.tar.bz2
mate-screensaver-89ae8f6630a15f1aa30933aee7d5ef62089313f8.tar.xz
Fix compile warning if not compiled with systemd
-rw-r--r--src/gs-listener-dbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 69f7574..e7b6c1d 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -2311,7 +2311,7 @@ gs_listener_acquire (GSListener *listener,
",member='PropertiesChanged'",
NULL);
- goto finish;
+ return (acquired != -1);
}
#endif
@@ -2339,7 +2339,6 @@ gs_listener_acquire (GSListener *listener,
#endif
}
-finish:
return (acquired != -1);
}