[gnome-session] manager: Remove unused quit_request_completed() function



commit 89f6c9d82e7fb2f76e667f78dae4ec0447dae666
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 23 13:18:05 2013 +0100

    manager: Remove unused quit_request_completed() function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692377

 gnome-session/gsm-manager.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 7cd7ca1..348ff67 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -481,20 +481,6 @@ phase_num_to_name (guint phase)
 static void start_phase (GsmManager *manager);
 
 static void
-quit_request_completed (GsmSystem *system,
-                        GError    *error,
-                        gpointer   user_data)
-{
-        GdmLogoutAction fallback_action = GPOINTER_TO_INT (user_data);
-
-        if (error != NULL) {
-                gdm_set_logout_action (fallback_action);
-        }
-
-        gtk_main_quit ();
-}
-
-static void
 gsm_manager_quit (GsmManager *manager)
 {
         /* See the comment in request_reboot() for some more details about how



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