[anjuta] symbol-db: Fixes bgo #613544 - doubled items in local view



commit 64bdaf4ab162fe50a5d270359c3709ad4a6db829
Author: Naba Kumar <naba gnome org>
Date:   Mon Mar 22 17:01:04 2010 +0200

    symbol-db: Fixes bgo #613544 - doubled items in local view

 plugins/symbol-db/symbol-db-engine-queries.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-engine-queries.c b/plugins/symbol-db/symbol-db-engine-queries.c
index a5f6d96..a497d53 100644
--- a/plugins/symbol-db/symbol-db-engine-queries.c
+++ b/plugins/symbol-db/symbol-db-engine-queries.c
@@ -1558,7 +1558,7 @@ symbol_db_engine_get_file_symbols (SymbolDBEngine *dbe,
 		    "symbol.returntype AS returntype, file.file_path AS db_file_path "
 			"%s FROM symbol "
 				"JOIN file ON symbol.file_defined_id = file.file_id "
-			"%s WHERE file.file_path = ## /* name:'filepath' type:gchararray */ "
+			"%s WHERE symbol.scope_id = 0 AND file.file_path = ## /* name:'filepath' type:gchararray */ "
 			"ORDER BY symbol.file_position %s %s", 
 						info_data->str, join_data->str, limit, offset);
 	



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