diff options
author | portix <portix@gmx.net> | 2011-09-02 15:50:44 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-09-02 15:50:44 +0200 |
commit | 139402ebac6de3227439be4525b58fa396224ef5 (patch) | |
tree | 1acca11618148a71602657709ce7e229c1591af5 /src/session.c | |
parent | 8f4a57d7d10aaf52b48d717a3bd272474847863b (diff) | |
download | dwb-139402ebac6de3227439be4525b58fa396224ef5.zip |
Save session tabs in correct order
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c index 0aaf3783..c2223e68 100644 --- a/src/session.c +++ b/src/session.c @@ -146,7 +146,7 @@ dwb_session_save(const char *name) { GString *buffer = g_string_new(NULL); g_string_append_printf(buffer, "g:%s\n", name); - for (GList *l = g_list_last(dwb.state.views); l; l=l->prev) { + for (GList *l = g_list_first(dwb.state.views); l; l=l->next) { WebKitWebView *web = WEBVIEW(l); WebKitWebBackForwardList *bf_list = webkit_web_view_get_back_forward_list(web); for (int i= -webkit_web_back_forward_list_get_back_length(bf_list); i<=webkit_web_back_forward_list_get_forward_length(bf_list); i++) { |