]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/python/notmuch/filenames.py
python: fix argument for filenames_destroy
[notmuch] / bindings / python / notmuch / filenames.py
index 229f414de63224053b026a933a305d1ba9ad990b..96b22c65360d2bee6f2748c8e00f033079f1a28d 100644 (file)
@@ -123,7 +123,7 @@ class Filenames(Python3StringMixIn):
         return "\n".join(self)
 
     _destroy = nmlib.notmuch_filenames_destroy
-    _destroy.argtypes = [NotmuchMessageP]
+    _destroy.argtypes = [NotmuchFilenamesP]
     _destroy.restype = None
 
     def __del__(self):