Change log level to prevent abort.
[platform/upstream/at-spi2-core.git] / atspi / atspi-misc.c
index e719040..6d69d21 100644 (file)
@@ -128,7 +128,10 @@ _atspi_bus ()
   if (!bus)
     atspi_init ();
   if (!bus)
-    g_error ("AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?");
+    {
+      g_warning ("AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?");
+      exit(0);
+    }
   return bus;
 }