[gnome-screensaver] Fix compile warning if not compiled with systemd
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screensaver] Fix compile warning if not compiled with systemd
- Date: Mon, 13 Feb 2012 22:34:29 +0000 (UTC)
commit 1a3c239cf88c533be1e489147d621cd9738e203f
Author: Robert Ancell <robert ancell canonical com>
Date: Sat Feb 11 11:51:30 2012 +1100
Fix compile warning if not compiled with systemd
src/gs-listener-dbus.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 7a78543..2024665 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -1372,7 +1372,7 @@ gs_listener_acquire (GSListener *listener,
",member='PropertiesChanged'",
NULL);
- goto finish;
+ return (res != -1);
}
#endif
@@ -1395,7 +1395,6 @@ gs_listener_acquire (GSListener *listener,
#endif
}
-finish:
return (res != -1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]