diff options
author | portix <portix@gmx.net> | 2010-09-17 13:34:18 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2010-09-17 13:34:18 +0200 |
commit | ea7000a3f33737ad8b5c10e7160d530c844fe5ef (patch) | |
tree | 315092a21a72b50010ba4efc09e2038fd9621c69 /src/session.c | |
parent | b716a657dab6367f1dbc98486711515cfad57955 (diff) | |
download | dwb-ea7000a3f33737ad8b5c10e7160d530c844fe5ef.zip |
save session on crash
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c index 38061b17..ed5a2a0f 100644 --- a/src/session.c +++ b/src/session.c @@ -119,7 +119,7 @@ dwb_session_restore(const gchar *name) { }/*}}}*/ /* dwb_session_save(const gchar *) {{{*/ -void +gboolean dwb_session_save(const gchar *name) { if (!name) { name = "default"; @@ -156,4 +156,5 @@ dwb_session_save(const gchar *name) { dwb_util_set_file_content(dwb.files.session, buffer->str); g_string_free(buffer, true); dwb_exit(); + return true; }/*}}}*/ |