aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-12-26 19:00:06 +0000
committerThomas White <taw@bitwiz.org.uk>2011-12-26 19:00:06 +0000
commitcb66378e4b7bdadc8133dad02f2561e7f38041ba (patch)
tree7973fb27f5a8412535bcfdfcbce533eb210c8402 /src
parent53bd923c2aed887c7e2b3af6ccaca08455da3351 (diff)
Set p->notes to NULL when notes are closed
Diffstat (limited to 'src')
-rw-r--r--src/notes.c1
1 files changed, 1 insertions, 0 deletions
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;
}