2001-12-11 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / registryd / desktop.c
index 9258398..35063b4 100644 (file)
@@ -25,7 +25,7 @@
 #include <config.h>
 #include <stdio.h>
 #include <libbonobo.h>
-#include <libspi/desktop.h>
+#include "desktop.h"
 
 /* Our parent Gtk object type */
 #define PARENT_TYPE SPI_ACCESSIBLE_TYPE
@@ -94,9 +94,6 @@ impl_desktop_get_child_at_index (PortableServer_Servant servant,
       retval = bonobo_object_dup_ref (app->ref, ev);
       if (BONOBO_EX (ev))
         {
-          CORBA_exception_free (ev);
-         CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
-                              ex_Accessibility_ChildGone, NULL);
          retval = CORBA_OBJECT_NIL;
        }
     }