[at-spi2-atk] Don't drop the main context when p2p socket configuration fails



commit 4b9c9e670303db83ec907f981342618b2679c8af
Author: Samuel Thibault <samuel thibault ens-lyon org>
Date:   Tue Mar 8 12:00:33 2016 -0600

    Don't drop the main context when p2p socket configuration fails
    
    Otherwise we can re-enter the main loop when sending a key
    notification, causing problems.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763273

 atk-adaptor/bridge.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index d0ca5da..76543e9 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -902,8 +902,6 @@ spi_atk_create_socket (SpiBridge *app)
     g_warning ("atk-bridge: Couldn't listen on dbus server: %s", error.message);
     dbus_error_free (&error);
     spi_global_app_data->app_bus_addr [0] = '\0';
-    g_main_context_unref (spi_global_app_data->main_context);
-    spi_global_app_data->main_context = NULL;
     return -1;
   }
 


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