diff options
-rw-r--r-- | src/ephy-shell.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index c35cdd5f3..68da6cdf8 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -247,18 +247,7 @@ quit_application (GSimpleAction *action, GVariant *parameter, gpointer user_data) { - GList *list, *next; - GtkWindow *win; - - list = gtk_application_get_windows (GTK_APPLICATION (g_application_get_default ())); - while (list) { - win = list->data; - next = list->next; - - gtk_widget_destroy (GTK_WIDGET (win)); - - list = next; - } + g_application_quit (g_application_get_default ()); } static GActionEntry app_entries[] = { |