diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-08-14 01:33:00 +0800 |
---|---|---|
committer | Carlos Garcia Campos <cgarcia@igalia.com> | 2013-01-09 00:42:17 +0800 |
commit | b18992cb830ce129ba6b9b1132f0921414554bb8 (patch) | |
tree | 8f139346d6bf4ea288bbbce8949c5c78cc08422d /src/ephy-shell.c | |
parent | 12415ad405dc6a9bcc42bd693d22c9b857e9bab3 (diff) | |
download | gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar.gz gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar.bz2 gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar.lz gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar.xz gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.tar.zst gsoc2013-epiphany-b18992cb830ce129ba6b9b1132f0921414554bb8.zip |
ephy-session: Use ephy_session_load() directly instead of queueing a load session command
https://bugzilla.gnome.org/show_bug.cgi?id=641739
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r-- | src/ephy-shell.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 452ded781..1b24387e2 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -131,10 +131,8 @@ queue_commands (EphyShell *shell) NULL, NULL, ctx->user_time, TRUE); if (ctx->session_filename != NULL) - ephy_session_queue_command (session, - EPHY_SESSION_CMD_LOAD_SESSION, - (const char *)ctx->session_filename, NULL, - ctx->user_time, FALSE); + ephy_session_load (session, (const char *)ctx->session_filename, + ctx->user_time, NULL, NULL, NULL); else if (ctx->arguments != NULL) { /* Don't queue any window openings if no extra arguments given, */ /* since session autoresume will open one for us. */ |