diff options
Diffstat (limited to 'tikzit/src/gtk/Menu.m')
-rw-r--r-- | tikzit/src/gtk/Menu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/gtk/Menu.m b/tikzit/src/gtk/Menu.m index 0eb8ba8..feac6b8 100644 --- a/tikzit/src/gtk/Menu.m +++ b/tikzit/src/gtk/Menu.m @@ -316,7 +316,7 @@ static void send_to_back_cb (GtkAction *action, Window *window) { #ifdef HAVE_POPPLER static void show_preview_cb (GtkAction *action, Window *window) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [app presentPreviewForDocument:[window document]]; + [window presentPreview]; [pool drain]; } #endif |