[tracker/wip/carlosg/tracker-3.0-api-breaks: 84/92] libtracker-direct: Fix async TrackerSparqlStatement execution



commit d82bb35919c90d927f0ca758c576064b3e6aae55
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Feb 4 16:31:39 2020 +0100

    libtracker-direct: Fix async TrackerSparqlStatement execution
    
    The bound values were copied the wrong way around...

 src/libtracker-direct/tracker-direct-statement.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-direct/tracker-direct-statement.c 
b/src/libtracker-direct/tracker-direct-statement.c
index c2c18b94f..609dbb485 100644
--- a/src/libtracker-direct/tracker-direct-statement.c
+++ b/src/libtracker-direct/tracker-direct-statement.c
@@ -200,7 +200,7 @@ copy_values_deep (GHashTable *values)
 
                copy_value = g_new0 (GValue, 1);
                g_value_init (copy_value, G_VALUE_TYPE (val));
-               g_value_copy (copy_value, val);
+               g_value_copy (val, copy_value);
 
                g_hash_table_insert (copy, g_strdup (key), copy_value);
        }


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