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



commit b664212f70b3fb7597f8a69b08ded708242436d6
Author: Mike Gorse <mgorse suse com>
Date:   Wed Oct 17 09:38:43 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]