[libnotify] Don't g_message when dbus calls fail
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify] Don't g_message when dbus calls fail
- Date: Thu, 24 Jun 2010 06:26:06 +0000 (UTC)
commit 87ced33981aaf677755c919683f08a19f09aabd9
Author: William Jon McCann <jmccann redhat com>
Date: Thu Jun 24 02:16:58 2010 -0400
Don't g_message when dbus calls fail
It may be annoying in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=608086
libnotify/notify.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/libnotify/notify.c b/libnotify/notify.c
index 6737acd..4cd8c2d 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -184,7 +184,6 @@ _notify_get_g_proxy (void)
bus = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if (error != NULL) {
- g_message ("Unable to get session bus: %s", error->message);
g_error_free (error);
return NULL;
}
@@ -224,7 +223,6 @@ _notify_get_g_proxy (void)
G_TYPE_INVALID);
if (!_notify_update_spec_version ()) {
- g_message ("Error getting spec version");
return NULL;
}
@@ -263,7 +261,6 @@ notify_get_server_caps (void)
G_TYPE_STRV,
&caps,
G_TYPE_INVALID)) {
- g_message ("GetCapabilities call failed: %s", error->message);
g_error_free (error);
return NULL;
}
@@ -319,8 +316,6 @@ notify_get_server_info (char **ret_name,
G_TYPE_STRING, &version,
G_TYPE_STRING, &spec_version,
G_TYPE_INVALID)) {
- g_message ("GetServerInformation call failed: %s",
- error->message);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]