mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove another unused function.
I think I added this function on the swig-redo branch, but it turned out to be obsoleted by the merge because we no longer read 1.8.x state files. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15044 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
cddf707a84
commit
eee554ff49
@ -197,30 +197,11 @@ gnc_html_price_url_cb (const char *location, const char *label,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
gnc_main_window_book_open_handler(QofSession *session)
|
||||
{
|
||||
gchar *filename, *statefile;
|
||||
|
||||
filename = gnc_html_encode_string(qof_session_get_url(session));
|
||||
if (!filename) return;
|
||||
|
||||
statefile = gnc_build_book_path(filename);
|
||||
g_free(filename);
|
||||
gfec_try_load(statefile);
|
||||
g_free(statefile);
|
||||
}
|
||||
|
||||
/** Restore all persistent program state. This function finds the
|
||||
* "new" state file associated with a specific book guid. It then
|
||||
* iterates through this state information, calling a helper function
|
||||
* to recreate each open window.
|
||||
*
|
||||
* If the "new" state file cannot be found, this function will open
|
||||
* an account tree window and then attempt to invoke the old gnucash
|
||||
* 1.x state routines. This provides a fluid transition for users
|
||||
* from the old to the new state systems.
|
||||
*
|
||||
* @note The name of the state file is based on the name of the data
|
||||
* file, not the path name of the data file. If there are multiple
|
||||
* data files with the same name, the state files will be suffixed
|
||||
|
Loading…
Reference in New Issue
Block a user