aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-01 10:28:19 -0500
committerTed Gould <ted@canonical.com>2009-09-01 10:28:19 -0500
commit8a2d7e75773c27f079a5a39e9ff03cd02bc2ef69 (patch)
tree8fe012ee59a44a1f909e10224cda270b40ccf498
parent41f1b3206ab13b008aed6670dc42636049c9590d (diff)
downloadayatana-indicator-session-8a2d7e75773c27f079a5a39e9ff03cd02bc2ef69.tar.gz
ayatana-indicator-session-8a2d7e75773c27f079a5a39e9ff03cd02bc2ef69.tar.bz2
ayatana-indicator-session-8a2d7e75773c27f079a5a39e9ff03cd02bc2ef69.zip
Apparently the DBus interface will put a bad string in messages in some cases. We don't really need it, so let's not risk it.
-rw-r--r--src/indicator-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index 43c568f..8a4e298 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -367,7 +367,7 @@ build_users_menu (gpointer userdata)
}
if (!org_freedesktop_DBus_start_service_by_name (proxy, INDICATOR_USERS_DBUS_NAME, 0, &returnval, &error)) {
- g_error("Unable to send message to DBus to start service: %s", error != NULL ? error->message : "(NULL error)" );
+ g_error("Unable to send message to DBus to start service");
g_error_free(error);
return FALSE;
}