One-line change of a g_error to g_warning when notification fails.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Mon, 10 Dec 2001 14:39:32 +0000 (14:39 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Mon, 10 Dec 2001 14:39:32 +0000 (14:39 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@157 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
libspi/registry.c
registryd/registry.c

index 89f9249..193c2bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2001-12-10  Bill Haneman <bill.haneman@sun.com>
 
 2001-12-10  Bill Haneman <bill.haneman@sun.com>
 
+       * libspi/registry.c:
+       Changed check of CORBA_environment on notification to be a warning
+       instead of an error for the moment, since we can recover from this
+       error when caused by a queued notification from a dead app.
+       
        * libspi/value.c:
        Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
        used by all current implementors of AtkValue), and coerce to
        * libspi/value.c:
        Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
        used by all current implementors of AtkValue), and coerce to
index f2fabf5..13fe752 100644 (file)
@@ -515,8 +515,6 @@ _get_unique_id ()
   return ++id;
 }
 
   return ++id;
 }
 
-#define SPI_DEBUG
-
 static void
 _registry_notify_listeners (GList *listeners,
                             const Accessibility_Event *e_in,
 static void
 _registry_notify_listeners (GList *listeners,
                             const Accessibility_Event *e_in,
@@ -559,7 +557,7 @@ _registry_notify_listeners (GList *listeners,
                                                    ev);
           if (ev->_major != CORBA_NO_EXCEPTION)
             {
                                                    ev);
           if (ev->_major != CORBA_NO_EXCEPTION)
             {
-              g_error ("Accessibility app error: exception during event notification: %s\n",
+              g_warning ("Accessibility app error: exception during event notification: %s\n",
                       CORBA_exception_id (ev));
            }
         }
                       CORBA_exception_id (ev));
            }
         }
index f2fabf5..13fe752 100644 (file)
@@ -515,8 +515,6 @@ _get_unique_id ()
   return ++id;
 }
 
   return ++id;
 }
 
-#define SPI_DEBUG
-
 static void
 _registry_notify_listeners (GList *listeners,
                             const Accessibility_Event *e_in,
 static void
 _registry_notify_listeners (GList *listeners,
                             const Accessibility_Event *e_in,
@@ -559,7 +557,7 @@ _registry_notify_listeners (GList *listeners,
                                                    ev);
           if (ev->_major != CORBA_NO_EXCEPTION)
             {
                                                    ev);
           if (ev->_major != CORBA_NO_EXCEPTION)
             {
-              g_error ("Accessibility app error: exception during event notification: %s\n",
+              g_warning ("Accessibility app error: exception during event notification: %s\n",
                       CORBA_exception_id (ev));
            }
         }
                       CORBA_exception_id (ev));
            }
         }