[gnome-photos/wip/rishi/online-miners: 23/27] indexing-notification: Rename a variable




commit 92ae95d5c57751dfe787fe4dce4e616d698986d7
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 20 19:08:10 2021 +0100

    indexing-notification: Rename a variable
    
    This will make the subsequent commit easier to read.
    
    https://gitlab.gnome.org/GNOME/gnome-photos/-/issues/83

 src/photos-indexing-notification.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-indexing-notification.c b/src/photos-indexing-notification.c
index 9e878064..49cca10d 100644
--- a/src/photos-indexing-notification.c
+++ b/src/photos-indexing-notification.c
@@ -142,7 +142,7 @@ photos_indexing_notification_timeout (gpointer user_data)
   GApplication *app;
   GList *miners_running;
   GomMiner *miner = NULL;
-  const gchar *display_name = NULL;
+  const gchar *provider_name = NULL;
   g_autofree gchar *primary = NULL;
 
   self->timeout_id = 0;
@@ -153,14 +153,14 @@ photos_indexing_notification_timeout (gpointer user_data)
     miner = GOM_MINER (miners_running->data);
 
   if (miner != NULL)
-    display_name = gom_miner_get_display_name (miner);
+    provider_name = gom_miner_get_display_name (miner);
 
-  if (display_name != NULL)
+  if (provider_name != NULL)
     {
       /* Translators: %s refers to an online account provider, e.g.,
        * "Facebook" or "Flickr".
        */
-      primary = g_strdup_printf (_("Fetching photos from %s"), display_name);
+      primary = g_strdup_printf (_("Fetching photos from %s"), provider_name);
     }
   else
     primary = g_strdup (_("Fetching photos from online accounts"));


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