summaryrefslogtreecommitdiff
path: root/src/gs-listener-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-listener-dbus.c')
-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);
}