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



commit bb22795370744761cff1b83463490cf0c656863e
Author: Gabriel Ivascu <gabrielivascu gnome org>
Date:   Wed Oct 4 13:30:31 2017 +0200

    sync-service: Set a name for the periodical sync source

 lib/sync/ephy-sync-service.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/sync/ephy-sync-service.c b/lib/sync/ephy-sync-service.c
index 2fdecad..c82b753 100644
--- a/lib/sync/ephy-sync-service.c
+++ b/lib/sync/ephy-sync-service.c
@@ -1405,6 +1405,7 @@ ephy_sync_service_schedule_periodical_sync (EphySyncService *self)
   self->source_id = g_timeout_add_seconds (seconds,
                                            (GSourceFunc)ephy_sync_service_sync_internal,
                                            self);
+  g_source_set_name_by_id (self->source_id, "[epiphany] sync_service_sync");
 
   LOG ("Scheduled new sync with frequency %u minutes", seconds / 60);
 }


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