[epiphany] gsb-service: Set a name for the periodical update source



commit e56e66591f369327d0bc58eb6ad0ddcd177fa28d
Author: Gabriel Ivascu <gabrielivascu gnome org>
Date:   Wed Oct 4 13:29:10 2017 +0200

    gsb-service: Set a name for the periodical update source

 lib/safe-browsing/ephy-gsb-service.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/safe-browsing/ephy-gsb-service.c b/lib/safe-browsing/ephy-gsb-service.c
index f7f406d..be8d047 100644
--- a/lib/safe-browsing/ephy-gsb-service.c
+++ b/lib/safe-browsing/ephy-gsb-service.c
@@ -210,6 +210,8 @@ ephy_gsb_service_schedule_update (EphyGSBService *self)
   self->source_id = g_timeout_add_seconds (interval,
                                            (GSourceFunc)ephy_gsb_service_update,
                                            self);
+  g_source_set_name_by_id (self->source_id, "[epiphany] gsb_service_update");
+
   LOG ("Next update scheduled in %ld seconds", interval);
 }
 


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