summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2013-10-03 21:00:51 +0200
committerStefano Karapetsas <[email protected]>2014-01-14 11:03:25 +0100
commit0c3dd853a5c4c7bb5742f2ee3e58ccc7e633958b (patch)
tree66d47046fb12b4035cc558f8bd1d9a53072bd0fb /src
parentffb0cf1ca417f7f069862ec65e86e0e19c2df92d (diff)
downloadmate-screensaver-0c3dd853a5c4c7bb5742f2ee3e58ccc7e633958b.tar.bz2
mate-screensaver-0c3dd853a5c4c7bb5742f2ee3e58ccc7e633958b.tar.xz
Fix compile warning if not compiled with systemd
Diffstat (limited to 'src')
-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);
}