From cb66378e4b7bdadc8133dad02f2561e7f38041ba Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 26 Dec 2011 19:00:06 +0000 Subject: Set p->notes to NULL when notes are closed --- src/notes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/notes.c') diff --git a/src/notes.c b/src/notes.c index b213a1f..4e58835 100644 --- a/src/notes.c +++ b/src/notes.c @@ -92,6 +92,7 @@ void notify_notes_slide_changed(struct presentation *p, struct slide *np) static gint close_notes_sig(GtkWidget *w, struct presentation *p) { grab_notes(p->notes, p->cur_notes_slide); + p->notes = NULL; return FALSE; } -- cgit v1.2.3