SF.net SVN: geany:[5254] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Sep 23 14:20:29 UTC 2010
Revision: 5254
http://geany.svn.sourceforge.net/geany/?rev=5254&view=rev
Author: ntrel
Date: 2010-09-23 14:20:29 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
Fix segfault on idle callback when quitting.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-09-23 12:22:44 UTC (rev 5253)
+++ trunk/ChangeLog 2010-09-23 14:20:29 UTC (rev 5254)
@@ -7,6 +7,8 @@
Change default Find Selection behaviour to not let the X selection
override the current word (can be confusing).
Add docs for Find Selection commands.
+ * src/document.c:
+ Fix segfault on idle callback when quitting.
2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2010-09-23 12:22:44 UTC (rev 5253)
+++ trunk/src/document.c 2010-09-23 14:20:29 UTC (rev 5254)
@@ -610,7 +610,9 @@
static gboolean on_idle_new_doc(gpointer user_data)
{
- document_new_file_if_non_open();
+ /* Idle may be after Geany has quit */
+ if (!main_status.quitting)
+ document_new_file_if_non_open();
return FALSE;
}
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