g_object_unref(mai_top_level->GetAtkObject()); return res; } else return FALSE;
g_object_unref(mai_top_level->GetAtkObject()); return res;
mai_add_toplevel_accessible(nsIAccessible *toplevel){    g_return_val_if_fail(toplevel != NULL, TRUE);    MaiAppRoot *root;    root = mai_get_root();    if (root) {        MaiTopLevel *mai_top_level = new MaiTopLevel(toplevel);        g_return_val_if_fail(mai_top_level != NULL, PR_FALSE);        gboolean res = root->AddMaiTopLevel(mai_top_level);        /* root will add ref for itself use */        g_object_unref(mai_top_level->GetAtkObject());        return res;    }    else        return FALSE;}