[gnome-photos/sam/tracker2-domain: 4/5] application: Rename a function for clarity




commit c3541e78e1f328f16fdc09f40f4fafb1d6ef93a4
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Sep 18 15:11:30 2020 +0200

    application: Rename a function for clarity
    
    A subsequent commit will switch GNOME Photos to use private instances
    of the Tracker 2.x daemons, where the daemons will be tied to the
    lifetime of the application. This means that the application will be
    responsible for also starting the miners for local content.
    
    Therefore, it's necessary to clarify that this function only concerns
    the online miners.
    
    https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/146

 src/photos-application.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index cb114fda..167beb19 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -693,7 +693,7 @@ photos_application_gom_miner (GObject *source_object, GAsyncResult *res, gpointe
 
 
 static void
-photos_application_create_miners (PhotosApplication *self)
+photos_application_create_online_miners (PhotosApplication *self)
 {
   GIOExtensionPoint *extension_point;
   GList *extensions;
@@ -2245,7 +2245,7 @@ photos_application_share_current (PhotosApplication *self)
 static void
 photos_application_start_miners (PhotosApplication *self)
 {
-  photos_application_create_miners (self);
+  photos_application_create_online_miners (self);
 }
 
 


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