[nautilus] application: fix nautilus --quit



commit b4c2aa5b547c41101280b1d9daac68cf26dbf13c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Feb 19 10:25:05 2013 -0500

    application: fix nautilus --quit
    
    We should call g_application_quit() when we're asked to force quit.

 src/nautilus-application.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index e0ebded..a22a9c6 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -874,6 +874,9 @@ action_kill (GSimpleAction *action,
        /* this will also destroy the desktop windows */
        windows = gtk_application_get_windows (application);
        g_list_foreach (windows, (GFunc) gtk_widget_destroy, NULL);
+
+       /* we have been asked to force quit */
+       g_application_quit (G_APPLICATION (application));
 }
 
 static void


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