[tracker/wip/carlosg/tracker-3.0-api-breaks: 84/95] libtracker-direct: Fix async TrackerSparqlStatement execution
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/tracker-3.0-api-breaks: 84/95] libtracker-direct: Fix async TrackerSparqlStatement execution
- Date: Fri, 14 Feb 2020 13:37:41 +0000 (UTC)
commit 08b629cd371e78d8fa16832524d894aff35c7305
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]