mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-06 15:21:39 +03:00
Fix up GTK+ hotlist finalisation to clean up properly
This commit is contained in:
parent
1f52b2d514
commit
10f1b7a1aa
@ -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();
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user