aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-02-23 20:59:53 +0800
committerXan Lopez <xan@igalia.com>2012-02-23 20:59:53 +0800
commit68c688dc70e8b00dec5756589c96f8c120f3b642 (patch)
treed371438d647c564e3acbfd0c8d7e0f02e2d0bc11 /src
parenta5893ce2f9722435e47921f19dd24de16380f881 (diff)
downloadgsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar.gz
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar.bz2
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar.lz
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar.xz
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.tar.zst
gsoc2013-epiphany-68c688dc70e8b00dec5756589c96f8c120f3b642.zip
ephy-shell: use the new g_application_quit to quit
Diffstat (limited to 'src')
-rw-r--r--src/ephy-shell.c13
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[] = {