summaryrefslogtreecommitdiff
path: root/test/pdf.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/pdf.zig')
-rw-r--r--test/pdf.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdf.zig b/test/pdf.zig
index 722e28b4..730bf2ce 100644
--- a/test/pdf.zig
+++ b/test/pdf.zig
@@ -468,7 +468,7 @@ test "watched PDF reload replaces MuPDF state and preserves the reading view" {
// The watch follows the PDF payload's lifetime just like a text file's;
// emit the stop while the slot still identifies the disappearing pane.
- try p.deinitPane(pane);
+ try pardes.panes.deinitPane(p, pane);
p.panes[0] = null;
var unwatched = false;
while (p.nextEffect()) |effect| switch (effect) {