summaryrefslogtreecommitdiff
path: root/tikzit/src/linux/PreviewWindow.m
diff options
context:
space:
mode:
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");