[anjuta] symbol-db: Fix a crash when closing project



commit b234449e6751ba18020ec78b0d6088557b51cff7
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Fri Mar 5 22:49:52 2010 +0100

    symbol-db: Fix a crash when closing project

 plugins/symbol-db/plugin.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 7a75cb0..0dac471 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -908,9 +908,6 @@ value_removed_current_editor (AnjutaPlugin *plugin,
 {
 	SymbolDBPlugin *sdb_plugin;
 
-	if (!IANJUTA_IS_EDITOR (data))
-		return;
-	
 	sdb_plugin = (SymbolDBPlugin *) plugin;
 	
 	DEBUG_PRINT ("%s", "value_removed_current_editor ()");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]