aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-28 16:35:30 -0700
committerTed Gould <ted@gould.cx>2013-10-28 16:35:30 -0700
commit66236504d51b7659b32307bdd36ab5a83200a158 (patch)
tree57a255abf7d7e938bec63c22726fcbc6299cdc81
parentbcd73f4d74fe781526cf224cee2ed7d87eeb16ee (diff)
parentda34f0cbe9eb05dcaf25fc0a502b4ae15d40ae27 (diff)
downloadayatana-indicator-application-66236504d51b7659b32307bdd36ab5a83200a158.tar.gz
ayatana-indicator-application-66236504d51b7659b32307bdd36ab5a83200a158.tar.bz2
ayatana-indicator-application-66236504d51b7659b32307bdd36ab5a83200a158.zip
Merge trunk
-rw-r--r--src/application-service-watcher.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application-service-watcher.c b/src/application-service-watcher.c
index 8c2f539..13280ba 100644
--- a/src/application-service-watcher.c
+++ b/src/application-service-watcher.c
@@ -24,6 +24,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config.h"
#endif
+#include <stdlib.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <dbus/dbus-glib-bindings.h>
@@ -158,8 +159,9 @@ application_service_watcher_init (ApplicationServiceWatcher *self)
GError * error = NULL;
DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
if (error != NULL) {
- g_error("Unable to get session bus: %s", error->message);
+ g_warning("Unable to get session bus: %s", error->message);
g_error_free(error);
+ exit(0);
return;
}