From de1c1c49f6f84afe5f0b0c1d8d445fbd8e89997a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 15 Apr 2019 23:23:42 +0200 Subject: Make it compile --- data/stylesheeteditor.ui | 42 +++++++++++++++++++++--------------------- src/narrative_window.c | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/data/stylesheeteditor.ui b/data/stylesheeteditor.ui index dba28b5..1e0c0b8 100644 --- a/data/stylesheeteditor.ui +++ b/data/stylesheeteditor.ui @@ -129,7 +129,7 @@ vertical 8 - + True False element_tree @@ -217,7 +217,7 @@ True 0 adjustment19 - + 1 @@ -230,7 +230,7 @@ True 0 adjustment20 - + 1 @@ -243,7 +243,7 @@ True 0 adjustment21 - + 4 @@ -256,7 +256,7 @@ True 0 adjustment22 - + 4 @@ -272,7 +272,7 @@ % slide units - + 5 @@ -288,7 +288,7 @@ % slide units - + 2 @@ -344,7 +344,7 @@ True Sans 12 Preview text - + True @@ -359,7 +359,7 @@ True True Foreground colour - + False @@ -401,7 +401,7 @@ Horizontal gradient Vertical gradient - + True @@ -416,7 +416,7 @@ True True Background first colour - + False @@ -431,7 +431,7 @@ True True Background second colour - + False @@ -475,7 +475,7 @@ Center Right - + False @@ -568,7 +568,7 @@ True 0 adjustment23 - + 1 @@ -581,7 +581,7 @@ True 0 adjustment24 - + 1 @@ -594,7 +594,7 @@ True 0 adjustment25 - + 3 @@ -607,7 +607,7 @@ True 0 adjustment26 - + 3 @@ -704,7 +704,7 @@ True 0 adjustment27 - + 1 @@ -717,7 +717,7 @@ True 0 adjustment28 - + 1 @@ -730,7 +730,7 @@ True 0 adjustment29 - + 3 @@ -743,7 +743,7 @@ True 0 adjustment30 - + 3 diff --git a/src/narrative_window.c b/src/narrative_window.c index f8d9127..6bf6acf 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -274,7 +274,7 @@ static void edit_ss_sig(GSimpleAction *action, GVariant *parameter, NarrativeWindow *nw = vp; StylesheetEditor *se; - se = stylesheet_editor_new(nw->n); + se = stylesheet_editor_new(narrative_get_stylesheet(nw->n)); gtk_window_set_transient_for(GTK_WINDOW(se), GTK_WINDOW(nw->window)); g_signal_connect(G_OBJECT(se), "changed", G_CALLBACK(stylesheet_changed_sig), nw); -- cgit v1.2.3