diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-12-26 19:00:06 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-12-26 19:00:06 +0000 |
commit | cb66378e4b7bdadc8133dad02f2561e7f38041ba (patch) | |
tree | 7973fb27f5a8412535bcfdfcbce533eb210c8402 /src | |
parent | 53bd923c2aed887c7e2b3af6ccaca08455da3351 (diff) |
Set p->notes to NULL when notes are closed
Diffstat (limited to 'src')
-rw-r--r-- | src/notes.c | 1 |
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; } |