[epiphany/gnome-3-22] history-service: Don't schedule commit after clearing history



commit c4e43bf3b93a2a56070fbafea5a6ab01d5b5b6d8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Feb 19 08:57:04 2017 -0600

    history-service: Don't schedule commit after clearing history
    
    Now that clear all is implemented by deleting the database file, there's
    no longer any need to schedule a commit here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778649

 lib/history/ephy-history-service.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index 606507b..676d4db 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -1166,7 +1166,6 @@ ephy_history_service_execute_clear (EphyHistoryService *self,
     return FALSE;
 
   ephy_history_service_clear_all (self);
-  ephy_history_service_schedule_commit (self);
 
   return TRUE;
 }


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