[polari/wip/carlosg/tracker: 5/16] lib: Use anonymous nodes to insert messages
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/carlosg/tracker: 5/16] lib: Use anonymous nodes to insert messages
- Date: Sun, 24 Feb 2019 22:50:45 +0000 (UTC)
commit 4fe33ebe7f608c3d8cfc7ee58703bb11311cdd39
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Feb 24 22:45:52 2019 +0100
lib: Use anonymous nodes to insert messages
There's no need to generate a UUID URN explicitly, it will also
be done implicitly by the lower layers with better guarantees about
duplicates.
src/lib/polari-message.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/lib/polari-message.c b/src/lib/polari-message.c
index 945fcf4..5e22ac1 100644
--- a/src/lib/polari-message.c
+++ b/src/lib/polari-message.c
@@ -206,7 +206,7 @@ polari_message_to_tracker_resource (PolariMessage *message,
uri = tracker_sparql_get_uuid_urn ();
- res = tracker_resource_new (uri);
+ res = tracker_resource_new (NULL);
if (polari_message_is_action (message))
tracker_resource_set_uri (res, "rdf:type", "polari:ActionMessage");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]