aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-13 11:41:38 +0200
committerGitHub <noreply@github.com>2018-04-13 11:41:38 +0200
commit61d4a904cc60a07be4ca506eaa7ae2088a57aecf (patch)
treeec8936b499673c61a6ffaf7cc7c91480aab37248 /src/thread.rs
parentc621f5cf919cfc8c94b5eaf0a9df6074a4e7a6cf (diff)
parent8228f44604478bdf0028b39320d1448e68b5ebf7 (diff)
downloadmail-61d4a904cc60a07be4ca506eaa7ae2088a57aecf.tar.gz
Merge pull request #1 from rhn/master
WIP: Small tweaks...
Diffstat (limited to 'src/thread.rs')
-rw-r--r--src/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs
index 9148c44..98832a6 100644
--- a/src/thread.rs
+++ b/src/thread.rs
@@ -46,7 +46,7 @@ impl<'q, 'd> Thread<'q, 'd>{
ffi::notmuch_thread_get_total_messages(self.0)
}
}
-
+#[cfg(feature = "0.26")]
pub fn total_files(self: &Self) -> i32{
unsafe {
ffi::notmuch_thread_get_total_files(self.0)