[at-spi2-atk] When a client is removed, don't continue looking through the list of clients



commit 1d17904fd4ad29a19bee22e0fa715680ba73c93a
Author: Mike Gorse <mgorse suse com>
Date:   Mon Aug 20 14:40:43 2012 -0500

    When a client is removed, don't continue looking through the list of clients
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679297

 atk-adaptor/bridge.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 3c55d6c..f0dc317 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -1008,6 +1008,7 @@ spi_atk_remove_client (const char *bus_name)
       clients = g_slist_delete_link (clients, l);
       if (!clients)
         spi_atk_deregister_event_listeners ();
+      return;
     }
 
     l = next_node;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]