Fix build because of wrong document_close_all() usage - oops.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2524 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
238066ce29
commit
965a4f2bce
@ -324,7 +324,7 @@ void project_close(gboolean open_default)
|
||||
if (project_prefs.project_session)
|
||||
{
|
||||
/* close all existing tabs first */
|
||||
document_close_all(NULL, NULL);
|
||||
document_close_all();
|
||||
|
||||
/* after closing all tabs let's open the tabs found in the default config */
|
||||
if (open_default == TRUE && cl_options.load_session)
|
||||
@ -905,7 +905,7 @@ static gboolean load_config(const gchar *filename)
|
||||
/* save current (non-project) session (it could has been changed since program startup) */
|
||||
configuration_save_default_session();
|
||||
/* now close all open files */
|
||||
document_close_all(NULL, NULL);
|
||||
document_close_all();
|
||||
/* read session files so they can be opened with configuration_open_files() */
|
||||
configuration_load_session_files(config);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user