[epiphany] ephy-history-service: execute_get_hosts() should return TRUE



commit a1ad3f932f94d52b496d5e717884918f03dcfd16
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Mar 7 23:16:39 2012 +0200

    ephy-history-service: execute_get_hosts() should return TRUE
    
    If there are no hosts, that's not a failure, so return TRUE instead.

 lib/history/ephy-history-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index 54af56a..ca656c7 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -529,7 +529,7 @@ ephy_history_service_execute_get_hosts (EphyHistoryService *self,
   hosts = ephy_history_service_get_all_hosts (self);
   *results = hosts;
 
-  return hosts != NULL;
+  return TRUE;
 }
 
 void



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