aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-03-29 00:45:17 +0800
committerXan Lopez <xan@igalia.com>2012-03-29 01:19:55 +0800
commita803d47c6af1e1c147bbfa342e2b4cbd960185b4 (patch)
tree375ab7827613430738b982550bd4209863f3b382 /src
parent87131a9bef82b5ec84bcd4bd3bf9471d6325f7cd (diff)
downloadgsoc2013-epiphany-a803d47c6af1e1c147bbfa342e2b4cbd960185b4.tar.gz
gsoc2013-epiphany-a803d47c6af1e1c147bbfa342e2b4cbd960185b4.tar.zst
gsoc2013-epiphany-a803d47c6af1e1c147bbfa342e2b4cbd960185b4.zip
ephy-session: it's not really possible to close while restoring anymore
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 7277662da..e9c39243d 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -69,7 +69,6 @@ struct _EphySessionPrivate
GtkWidget *quit_interact_dialog;
guint dont_save : 1;
- guint quit_while_resuming : 1;
};
#define BOOKMARKS_EDITOR_ID "BookmarksEditor"
@@ -540,14 +539,6 @@ ephy_session_dispose (GObject *object)
LOG ("EphySession disposing");
- /* Only remove the crashed session if we're not shutting down while
- * the session resume dialogue was still shown!
- */
- if (priv->quit_while_resuming == FALSE)
- {
- session_delete (session, SESSION_CRASHED);
- }
-
session_command_queue_clear (session);
G_OBJECT_CLASS (ephy_session_parent_class)->dispose (object);
@@ -651,8 +642,6 @@ ephy_session_close (EphySession *session)
g_object_ref (ephy_shell_get_default ());
priv->dont_save = TRUE;
- /* need to set this up here while the dialogue hasn't been killed yet */
- priv->quit_while_resuming = priv->resume_window != NULL;
/* Clear command queue */
session_command_queue_clear (session);