]> git.notmuchmail.org Git - notmuch/commitdiff
python: fix argument for filenames_destroy
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 12 Dec 2015 19:22:12 +0000 (14:22 -0500)
committerJustus Winter <4winter@informatik.uni-hamburg.de>
Fri, 8 Jan 2016 11:37:38 +0000 (12:37 +0100)
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):