[gnome-session] gsm: Stop disconnecting "registered" signal for GsmApp



commit f31f37ec0ce59b5f7abe332fe55997c7e9722752
Author: Vincent Untz <vuntz gnome org>
Date:   Fri Mar 23 16:56:53 2012 +0100

    gsm: Stop disconnecting "registered" signal for GsmApp
    
    The reason we were doing this is that the code to move to the next phase
    when an app is registered was not checking for the current phase. This
    is done now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672419

 gnome-session/gsm-manager.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 210f1f7..787b28e 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -633,8 +633,6 @@ static void
 app_died (GsmApp     *app,
           GsmManager *manager)
 {
-        g_signal_handlers_disconnect_by_func (app, app_registered, manager);
-
         g_warning ("Application '%s' killed by signal", gsm_app_peek_app_id (app));
 
         if (gsm_app_peek_autorestart (app)) {
@@ -691,7 +689,6 @@ on_phase_timeout (GsmManager *manager)
                         GsmApp *app = a->data;
                         g_warning ("Application '%s' failed to register before timeout",
                                    gsm_app_peek_app_id (app));
-                        g_signal_handlers_disconnect_by_func (app, app_registered, manager);
                         if (is_app_required (manager, app))
                                 on_required_app_failure (manager, app);
                 }



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