From 924aad8f38e277547b104977dd48ef2be7c702f8 Mon Sep 17 00:00:00 2001 From: randomguy3 Date: Tue, 10 Jan 2012 18:27:19 +0000 Subject: 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 --- tikzit/src/linux/PreviewWindow.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tikzit/src/linux/PreviewWindow.m') 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"); -- cgit v1.2.3