[at-spi2-core] Don't output a warning when a p2p connection isn't available



commit 9b37cae8a20ccb21ae0faaa137fc472fdb9da45f
Author: Mike Gorse <mgorse suse com>
Date:   Wed Oct 17 09:38:11 2012 -0500

    Don't output a warning when a p2p connection isn't available

 atspi/atspi-misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index f45cd76..4f09060 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -160,7 +160,7 @@ handle_get_bus_address (DBusPendingCall *pending, void *user_data)
   if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_METHOD_RETURN)
   {
     if (dbus_message_get_args (reply, NULL, DBUS_TYPE_STRING, &address,
-                               DBUS_TYPE_INVALID))
+                               DBUS_TYPE_INVALID) && address [0])
     {
       DBusError error;
       DBusConnection *bus;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]