[tracker-miners/wip/carlosg/stable-content-urns: 3/7] libtracker-extract: Fix typo




commit 92c36e1a9908af28bcd509fd816f9ffeb13c6519
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Dec 13 13:12:48 2021 +0100

    libtracker-extract: Fix typo
    
    We don't depend on the graph to return the hash here.

 src/libtracker-extract/tracker-module-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-extract/tracker-module-manager.c b/src/libtracker-extract/tracker-module-manager.c
index 83c9453e0..266b6fc12 100644
--- a/src/libtracker-extract/tracker-module-manager.c
+++ b/src/libtracker-extract/tracker-module-manager.c
@@ -591,7 +591,7 @@ tracker_extract_module_manager_get_hash (const gchar *mimetype)
        for (l = list; l; l = l->next) {
                RuleInfo *r_info = l->data;
 
-               if (r_info->graph)
+               if (r_info->hash)
                        return r_info->hash;
        }
 


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