]> git.notmuchmail.org Git - notmuch/blobdiff - message.cc
Bring back the insert_thread_id function.
[notmuch] / message.cc
index 8ca8fdee1871b0f10f7700477e1e3da76f0553b4..0efa470adcf149071ad8943f4619f9d28d4236d3 100644 (file)
@@ -104,13 +104,13 @@ _notmuch_message_destructor (notmuch_message_t *message)
 }
 
 notmuch_message_t *
-_notmuch_message_create (notmuch_results_t *owner,
+_notmuch_message_create (const void *talloc_owner,
                         notmuch_database_t *notmuch,
-                        Xapian::docid doc_id)
+                        unsigned int doc_id)
 {
     notmuch_message_t *message;
 
-    message = talloc (owner, notmuch_message_t);
+    message = talloc (talloc_owner, notmuch_message_t);
     if (unlikely (message == NULL))
        return NULL;