[epiphany] Remove redundant call to g_task_set_check_cancellable



commit bd826d1aee880781a72fcc5e753c04e5ce1def78
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Sep 21 12:48:28 2015 -0500

    Remove redundant call to g_task_set_check_cancellable
    
    It's the default
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755365

 src/ephy-search-provider.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-search-provider.c b/src/ephy-search-provider.c
index cdc802c..7371159 100644
--- a/src/ephy-search-provider.c
+++ b/src/ephy-search-provider.c
@@ -108,7 +108,6 @@ gather_results_async (EphySearchProvider   *self,
   char *search_string;
 
   task = g_task_new (self, cancellable, callback, user_data);
-  g_task_set_check_cancellable (task, TRUE);
 
   search_string = g_strjoinv (" ", terms);
   g_task_set_task_data (task, search_string, g_free);


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