aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-26 11:08:58 -0500
committerTed Gould <ted@canonical.com>2009-06-26 11:08:58 -0500
commit290c64793a50ef7b996a558068b2275ced2cceda (patch)
treec9356fc3b03c8d263677b935c1cdb8b619df2ace /libdbusmenu-glib
parentceacc52b9ce52feb4e3b12cbfd802f38c65a8b4a (diff)
downloadlibdbusmenu-290c64793a50ef7b996a558068b2275ced2cceda.tar.gz
libdbusmenu-290c64793a50ef7b996a558068b2275ced2cceda.tar.bz2
libdbusmenu-290c64793a50ef7b996a558068b2275ced2cceda.zip
Switching the loss of the proxies to be warnings instead of errors as we can recover from it and handle it gracefully if we need to.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 4308d58..b9a5b90 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -424,7 +424,7 @@ build_proxies (DbusmenuClient * client)
DBUS_INTERFACE_PROPERTIES,
&error);
if (error != NULL) {
- g_error("Unable to get property proxy for %s on %s: %s", priv->dbus_name, priv->dbus_object, error->message);
+ g_warning("Unable to get property proxy for %s on %s: %s", priv->dbus_name, priv->dbus_object, error->message);
g_error_free(error);
return;
}
@@ -437,7 +437,7 @@ build_proxies (DbusmenuClient * client)
"org.freedesktop.dbusmenu",
&error);
if (error != NULL) {
- g_error("Unable to get dbusmenu proxy for %s on %s: %s", priv->dbus_name, priv->dbus_object, error->message);
+ g_warning("Unable to get dbusmenu proxy for %s on %s: %s", priv->dbus_name, priv->dbus_object, error->message);
g_error_free(error);
return;
}