[gdm] Fix typo when disconnecting signal handler



commit 752ec6de8a6e66ce002a89c52fb0308791b40bf7
Author: Ray Strode <rstrode redhat com>
Date:   Fri Sep 10 13:27:52 2010 -0400

    Fix typo when disconnecting signal handler
    
    We were disconnecting the wrong one.

 gui/user-switch-applet/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c
index edb69e4..4a4b41d 100644
--- a/gui/user-switch-applet/applet.c
+++ b/gui/user-switch-applet/applet.c
@@ -481,7 +481,7 @@ gdm_applet_data_free (GdmAppletData *adata)
         gconf_client_notify_remove (adata->client, adata->client_notify_lockdown_id);
 
         if (adata->user_loaded_notify_id != 0) {
-                g_signal_handler_disconnect (adata->user, adata->user_changed_notify_id);
+                g_signal_handler_disconnect (adata->user, adata->user_loaded_notify_id);
         }
 
         if (adata->user_changed_notify_id != 0) {



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