diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-06-18 20:37:23 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-06-19 00:13:36 +0200 |
commit | 72b936f79df0fb2ece6bb1152aa0df0b381ef451 (patch) | |
tree | a5acf7c113f34a1d78571158ba6b367a9ae01e2d /src/libtracker-direct | |
parent | 2f333aed3a6ab55352229eb8ed45e60eb421e2f5 (diff) | |
download | tracker-72b936f79df0fb2ece6bb1152aa0df0b381ef451.tar.gz |
libtracker-sparql: Drop priority argument from async functions
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/218
Diffstat (limited to 'src/libtracker-direct')
-rw-r--r-- | src/libtracker-direct/tracker-direct.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libtracker-direct/tracker-direct.c b/src/libtracker-direct/tracker-direct.c index 38e48323c..ebae03d95 100644 --- a/src/libtracker-direct/tracker-direct.c +++ b/src/libtracker-direct/tracker-direct.c @@ -730,7 +730,6 @@ tracker_direct_connection_update (TrackerSparqlConnection *self, static void tracker_direct_connection_update_async (TrackerSparqlConnection *self, const gchar *sparql, - gint priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) @@ -743,7 +742,6 @@ tracker_direct_connection_update_async (TrackerSparqlConnection *self, priv = tracker_direct_connection_get_instance_private (conn); task = g_task_new (self, cancellable, callback, user_data); - g_task_set_priority (task, priority); g_task_set_task_data (task, task_data_query_new (TASK_TYPE_UPDATE, sparql), (GDestroyNotify) task_data_free); @@ -763,7 +761,6 @@ static void tracker_direct_connection_update_array_async (TrackerSparqlConnection *self, gchar **updates, gint n_updates, - gint priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) @@ -788,7 +785,6 @@ tracker_direct_connection_update_array_async (TrackerSparqlConnection *self, task_data->query = concatenated; task = g_task_new (self, cancellable, callback, user_data); - g_task_set_priority (task, priority); g_task_set_task_data (task, task_data, (GDestroyNotify) task_data_free); @@ -828,7 +824,6 @@ tracker_direct_connection_update_blank (TrackerSparqlConnection *self, static void tracker_direct_connection_update_blank_async (TrackerSparqlConnection *self, const gchar *sparql, - gint priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) @@ -841,7 +836,6 @@ tracker_direct_connection_update_blank_async (TrackerSparqlConnection *self, priv = tracker_direct_connection_get_instance_private (conn); task = g_task_new (self, cancellable, callback, user_data); - g_task_set_priority (task, priority); g_task_set_task_data (task, task_data_query_new (TASK_TYPE_UPDATE_BLANK, sparql), (GDestroyNotify) task_data_free); |