[tracker/wip/carlosg/test] bar
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/test] bar
- Date: Sun, 12 Dec 2021 19:52:17 +0000 (UTC)
commit edbbfbc8b13bc34c469a35a1d0b05ac46ab38cf3
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Dec 12 20:52:08 2021 +0100
bar
src/libtracker-sparql/tracker-connection.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.c b/src/libtracker-sparql/tracker-connection.c
index 5bbd8523f..9ad4351bc 100644
--- a/src/libtracker-sparql/tracker-connection.c
+++ b/src/libtracker-sparql/tracker-connection.c
@@ -893,10 +893,13 @@ tracker_sparql_connection_map_connection (TrackerSparqlConnection *connection,
const gchar *handle_name,
TrackerSparqlConnection *service_connection)
{
- g_return_if_fail (TRACKER_IS_DIRECT_CONNECTION (connection));
+ g_return_if_fail (TRACKER_IS_SPARQL_CONNECTION (connection));
g_return_if_fail (TRACKER_IS_SPARQL_CONNECTION (service_connection));
g_return_if_fail (handle_name && *handle_name);
+ if (!TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->map_connection)
+ return;
+
TRACKER_SPARQL_CONNECTION_GET_CLASS (connection)->map_connection (connection,
handle_name,
service_connection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]