[at-spi2-core] Fix deregistering of applications
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix deregistering of applications
- Date: Fri, 7 Dec 2012 17:20:31 +0000 (UTC)
commit 53015630d728812dc944da021b5821d7eac3cb14
Author: Mike Gorse <mgorse suse com>
Date: Fri Dec 7 11:21:19 2012 -0600
Fix deregistering of applications
registryd/registry.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/registryd/registry.c b/registryd/registry.c
index a64e094..e283a90 100644
--- a/registryd/registry.c
+++ b/registryd/registry.c
@@ -290,9 +290,10 @@ handle_disconnection (DBusConnection *bus, DBusMessage *message, void *user_data
for (i = 0; i < reg->apps->len; i++)
{
SpiReference *ref = g_ptr_array_index (reg->apps, i);
- while (!g_strcmp0 (old, ref->name))
+ if (!g_strcmp0 (old, ref->name))
{
remove_application (reg, bus, i);
+ i--;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]