aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.rs
diff options
context:
space:
mode:
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)