[anjuta] symbol-db: Call the search complete callback even if there were no results.



commit 87cfdab50c1d9bac3cf88a40cd377f2ea254d997
Author: Johannes Schmid <jhs gnome org>
Date:   Fri May 14 11:39:06 2010 +0200

    symbol-db: Call the search complete callback even if there were no results.
    
    That is important to keep track of async operations.

 plugins/symbol-db/symbol-db-search-command.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-search-command.c b/plugins/symbol-db/symbol-db-search-command.c
index bb35087..f586168 100644
--- a/plugins/symbol-db/symbol-db-search-command.c
+++ b/plugins/symbol-db/symbol-db-search-command.c
@@ -180,13 +180,6 @@ sdb_search_command_run (AnjutaCommand *command)
 			break;			
 	}
 
-	if (priv->iterator_result == NULL)
-	{
-		DEBUG_PRINT("Async search returned no results");
-		/* 1 is for error occurred */
-		return 1;
-	}
-
 	if (priv->is_cancelled == FALSE)
 	{
 		DEBUG_PRINT ("Notify!");



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