aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-18 21:34:28 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-18 21:34:28 +0100
commit8ed14964dd0344a6cec3901dd0a8fb5a24e4165b (patch)
treea3e5bb6601f8e911d844c7980b698ee7cac1ddc4
parentcf4373569265e516463b3244f307638776487f80 (diff)
Set slide pointer
-rw-r--r--src/slide_window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index b6c60da..854c1d5 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -219,6 +219,7 @@ extern SlideWindow *slide_window_open(Presentation *p, Slide *slide,
gtk_window_set_role(GTK_WINDOW(window), "slide");
sw->window = window;
sw->p = p;
+ sw->slide = slide;
g_action_map_add_action_entries(G_ACTION_MAP(window), sw_entries,
G_N_ELEMENTS(sw_entries), sw);