SF.net SVN: geany: [2524] trunk/src/project.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Apr 24 14:13:07 UTC 2008


Revision: 2524
          http://geany.svn.sourceforge.net/geany/?rev=2524&view=rev
Author:   ntrel
Date:     2008-04-24 07:13:06 -0700 (Thu, 24 Apr 2008)

Log Message:
-----------
Fix build because of wrong document_close_all() usage - oops.

Modified Paths:
--------------
    trunk/src/project.c

Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c	2008-04-24 12:16:21 UTC (rev 2523)
+++ trunk/src/project.c	2008-04-24 14:13:06 UTC (rev 2524)
@@ -324,7 +324,7 @@
 	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 @@
 		/* 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);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list