From 965a4f2bce3dfded30e331be92725fc7298eaba4 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 24 Apr 2008 14:13:06 +0000 Subject: [PATCH] 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 --- src/project.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/project.c b/src/project.c index ecc92a16..3c321002 100644 --- a/src/project.c +++ b/src/project.c @@ -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); }