DRoutePath *treepath, *accpath;
root = atk_get_root ();
- g_return_val_if_fail (root, 0);
+ g_warn_if_fail (root);
+ if (!root)
+ {
+ inited = FALSE;
+ return -1;
+ }
/* Parse command line options */
opt = g_option_context_new (NULL);
{
g_free (spi_global_app_data);
spi_global_app_data = NULL;
- return 0;
+ inited = FALSE;
+ return -1;
}
if (atspi_dbus_name != NULL)
if (!treepath)
{
g_warning ("atk-bridge: Error in droute_add_one(). Already running?");
- return 0;
+ return -1;
}
accpath = droute_add_many (spi_global_app_data->droute,