[mutter] mutter-mag: Quit when the user hits escape



commit 3beb33bb4445e55af26a3d581c889699e9b83128
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Oct 28 15:05:05 2011 -0400

    mutter-mag: Quit when the user hits escape
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662895

 src/tools/mutter-mag.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tools/mutter-mag.c b/src/tools/mutter-mag.c
index ec4891e..b85fc56 100644
--- a/src/tools/mutter-mag.c
+++ b/src/tools/mutter-mag.c
@@ -204,6 +204,8 @@ key_press (GtkWidget   *invisible,
       g_signal_handlers_disconnect_by_func (invisible, mouse_press, NULL);
       g_signal_handlers_disconnect_by_func (invisible, key_press, NULL);
       
+      gtk_main_quit ();
+
       return TRUE;
     }
 



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