summaryrefslogtreecommitdiff
path: root/tikzit/src/linux/PreviewWindow.m
diff options
context:
space:
mode:
authorrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-10 18:27:19 +0000
committerrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-10 18:27:19 +0000
commit924aad8f38e277547b104977dd48ef2be7c702f8 (patch)
treeb7c731f461c3dcad3ea87b79e8e916a8387c7dfa /tikzit/src/linux/PreviewWindow.m
parente77f7c4f027d9fefb609bef3c97df9b8ff0c2a31 (diff)
GTK: Allow the path to pdflatex to be configured
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@377 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/linux/PreviewWindow.m')
-rw-r--r--tikzit/src/linux/PreviewWindow.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/linux/PreviewWindow.m b/tikzit/src/linux/PreviewWindow.m
index 7bbcf18..418886e 100644
--- a/tikzit/src/linux/PreviewWindow.m
+++ b/tikzit/src/linux/PreviewWindow.m
@@ -37,12 +37,12 @@
return nil;
}
-- (id) initWithPreambles:(Preambles*)p {
+- (id) initWithPreambles:(Preambles*)p config:(Configuration*)c {
self = [super init];
if (self) {
parent = NULL;
- previewer = [[PreviewRenderer alloc] initWithPreambles:p];
+ previewer = [[PreviewRenderer alloc] initWithPreambles:p config:c];
window = GTK_WINDOW (gtk_window_new (GTK_WINDOW_TOPLEVEL));
gtk_window_set_title (window, "Preview");