[at-spi2-core] Change a couple of g_error calls to call g_warning



commit ea971a90c12b82ed40ade60b7a91734daa0872a1
Author: Mike Gorse <mgorse novell com>
Date:   Fri Jan 28 17:53:03 2011 -0600

    Change a couple of g_error calls to call g_warning

 atspi/atspi-misc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 1a3f412..4f974dc 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -529,7 +529,7 @@ ref_accessible_desktop (AtspiApplication *app)
   reply = _atspi_dbus_send_with_reply_and_block (message, NULL);
   if (!reply || strcmp (dbus_message_get_signature (reply), "a(so)") != 0)
   {
-    g_error ("Couldn't get application list: %s", error.message);
+    g_warning ("Couldn't get application list: %s", error.message);
     if (reply)
       dbus_message_unref (reply);
     return NULL;
@@ -895,7 +895,7 @@ atspi_init (void)
   bus = get_accessibility_bus ();
   if (!bus)
   {
-    g_error ("Couldn't get session bus");
+    g_warning ("Couldn't get session bus");
     return 2;
   }
   dbus_bus_register (bus, &error);



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