Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/10f1b7a1aaec183defb6ae724576910494026954
...commit
http://git.netsurf-browser.org/netsurf.git/commit/10f1b7a1aaec183defb6ae724576910494026954
...tree
http://git.netsurf-browser.org/netsurf.git/tree/10f1b7a1aaec183defb6ae724576910494026954
The branch, master has been updated
via 10f1b7a1aaec183defb6ae724576910494026954 (commit)
from 1f52b2d514ac12bfbcb97f4ed3eb556d5e38739d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=10f1b7a1aaec183defb6ae724576910494026954
commit 10f1b7a1aaec183defb6ae724576910494026954
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
Fix up GTK+ hotlist finalisation to clean up properly
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index c08ab0a..8d6b422 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -449,6 +449,12 @@ static void gui_quit(void)
messages_get_errorcode(res));
}
+ res = hotlist_fini(nsoption_charp(hotlist_path));
+ if (res != NSERROR_OK) {
+ LOG("Error finalising hotlist: %s",
+ messages_get_errorcode(res));
+ }
+
free(nsgtk_config_home);
gtk_fetch_filetype_fin();
diff --git a/frontends/gtk/hotlist.c b/frontends/gtk/hotlist.c
index 6ce9060..34a1377 100644
--- a/frontends/gtk/hotlist.c
+++ b/frontends/gtk/hotlist.c
@@ -398,7 +398,7 @@ nserror nsgtk_hotlist_destroy(void)
return NSERROR_OK;
}
- res = hotlist_fini(nsoption_charp(hotlist_path));
+ res = hotlist_manager_fini();
if (res == NSERROR_OK) {
res = nsgtk_corewindow_fini(&hotlist_window->core);
gtk_widget_destroy(GTK_WIDGET(hotlist_window->wnd));
-----------------------------------------------------------------------
Summary of changes:
frontends/gtk/gui.c | 6 ++++++
frontends/gtk/hotlist.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/frontends/gtk/gui.c b/frontends/gtk/gui.c
index c08ab0a..8d6b422 100644
--- a/frontends/gtk/gui.c
+++ b/frontends/gtk/gui.c
@@ -449,6 +449,12 @@ static void gui_quit(void)
messages_get_errorcode(res));
}
+ res = hotlist_fini(nsoption_charp(hotlist_path));
+ if (res != NSERROR_OK) {
+ LOG("Error finalising hotlist: %s",
+ messages_get_errorcode(res));
+ }
+
free(nsgtk_config_home);
gtk_fetch_filetype_fin();
diff --git a/frontends/gtk/hotlist.c b/frontends/gtk/hotlist.c
index 6ce9060..34a1377 100644
--- a/frontends/gtk/hotlist.c
+++ b/frontends/gtk/hotlist.c
@@ -398,7 +398,7 @@ nserror nsgtk_hotlist_destroy(void)
return NSERROR_OK;
}
- res = hotlist_fini(nsoption_charp(hotlist_path));
+ res = hotlist_manager_fini();
if (res == NSERROR_OK) {
res = nsgtk_corewindow_fini(&hotlist_window->core);
gtk_widget_destroy(GTK_WIDGET(hotlist_window->wnd));
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org