From: billh Date: Mon, 10 Dec 2001 14:39:32 +0000 (+0000) Subject: One-line change of a g_error to g_warning when notification fails. X-Git-Tag: AT_SPI2_ATK_2_12_0~1492 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=af73589b8f6efcd457290b11e183769918cf3294;ds=sidebyside One-line change of a g_error to g_warning when notification fails. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@157 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- diff --git a/ChangeLog b/ChangeLog index 89f9249..193c2bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-12-10 Bill Haneman + * 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 diff --git a/libspi/registry.c b/libspi/registry.c index f2fabf5..13fe752 100644 --- a/libspi/registry.c +++ b/libspi/registry.c @@ -515,8 +515,6 @@ _get_unique_id () return ++id; } -#define SPI_DEBUG - 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) { - 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)); } } diff --git a/registryd/registry.c b/registryd/registry.c index f2fabf5..13fe752 100644 --- a/registryd/registry.c +++ b/registryd/registry.c @@ -515,8 +515,6 @@ _get_unique_id () return ++id; } -#define SPI_DEBUG - 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) { - 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)); } }