X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fmessage-property.cc;fp=lib%2Fmessage-property.cc;h=210a15cca81e99d36ae8f5f7635971b3e21083c0;hb=9088db76d89264b733f6b45e776d8952da237921;hp=6525fb24469239b1a3c31f9e0a721045f5409480;hpb=8a1eeecdfe83a5ca0a923e5d1e31bff076e406ce;p=notmuch diff --git a/lib/message-property.cc b/lib/message-property.cc index 6525fb24..210a15cc 100644 --- a/lib/message-property.cc +++ b/lib/message-property.cc @@ -44,7 +44,7 @@ _notmuch_message_modify_property (notmuch_message_t *message, const char *key, c notmuch_status_t status; char *term = NULL; - status = _notmuch_database_ensure_writable (_notmuch_message_database (message)); + status = _notmuch_database_ensure_writable (notmuch_message_get_database (message)); if (status) return status; @@ -92,7 +92,7 @@ _notmuch_message_remove_all_properties (notmuch_message_t *message, const char * notmuch_status_t status; const char * term_prefix; - status = _notmuch_database_ensure_writable (_notmuch_message_database (message)); + status = _notmuch_database_ensure_writable (notmuch_message_get_database (message)); if (status) return status;