summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/Application.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/gtk/Application.m')
-rw-r--r--tikzit/src/gtk/Application.m24
1 files changed, 0 insertions, 24 deletions
diff --git a/tikzit/src/gtk/Application.m b/tikzit/src/gtk/Application.m
index 99ad24d..e9935bd 100644
--- a/tikzit/src/gtk/Application.m
+++ b/tikzit/src/gtk/Application.m
@@ -34,7 +34,6 @@
#ifdef HAVE_POPPLER
#import "Preambles.h"
#import "Preambles+Storage.h"
-#import "PreviewWindow.h"
#endif
#import "BoundingBoxTool.h"
@@ -186,7 +185,6 @@ Application* app = nil;
[lastOpenFolder release];
[lastSaveAsFolder release];
[preambleWindow release];
- [previewWindow release];
[settingsDialog release];
[openWindows release];
[tools release];
@@ -276,28 +274,6 @@ Application* app = nil;
[contextWindow present];
}
-- (void) presentPreviewForDocument:(TikzDocument*)doc {
-#ifdef HAVE_POPPLER
- if (previewWindow == nil) {
- previewWindow = [[PreviewWindow alloc] initWithPreambles:preambles config:configFile];
- //[previewWindow setParentWindow:mainWindow];
- [previewWindow setDocument:doc];
- }
- [previewWindow present];
-#endif
-}
-
-- (void) previewDocument:(TikzDocument*)doc {
-#ifdef HAVE_POPPLER
- if (previewWindow == nil) {
- previewWindow = [[PreviewWindow alloc] initWithPreambles:preambles config:configFile];
- //[previewWindow setParentWindow:mainWindow];
- [previewWindow setDocument:doc];
- }
- [previewWindow show];
-#endif
-}
-
- (void) presentSettingsDialog {
if (settingsDialog == nil) {
settingsDialog = [[SettingsDialog alloc] initWithConfiguration:configFile