Changed fatal error (which was killing clients) into a
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 3 Jun 2003 22:54:09 +0000 (22:54 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 3 Jun 2003 22:54:09 +0000 (22:54 +0000)
warning.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@434 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
cspi/spi_main.c

index 7f87f1e..94b03aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-03  Bill Haneman <bill.haneman@sun.com>
+
+       * cspi/spi_main.c:
+       (cspi_accessible_is_a): Make non-fatal 
+       if the object reference is dead.
+
 Mon Jun  2 15:35:29 2003  Jonathan Blandford  <jrb@redhat.com>
 
        * cspi/spi_main.c: #include <stdio.h>
index 67acb1b..36da0cd 100644 (file)
@@ -94,12 +94,13 @@ cspi_accessible_is_a (Accessible *accessible,
 
   if (ev._major != CORBA_NO_EXCEPTION)
     {
-      g_error ("Exception '%s' checking if is '%s'",
-              cspi_exception_get_text (),
-              interface_name);
+      g_warning ("Exception '%s' checking if is '%s'",
+                cspi_exception_get_text (),
+                interface_name);
+      retval = FALSE;
     }
 
-  if (unknown != CORBA_OBJECT_NIL)
+  else if (unknown != CORBA_OBJECT_NIL)
     {
       retval = TRUE;
       cspi_release_unref (unknown);