aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.c1
-rw-r--r--src/slide_render.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index a4fae6b..9b17f52 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -332,6 +332,7 @@ static gint start_slideshow_sig(GtkWidget *widget, struct presentation *p)
void notify_slide_changed(struct presentation *p)
{
+ p->editing_object = NULL;
update_toolbar(p);
redraw_slide(p->cur_edit_slide);
diff --git a/src/slide_render.c b/src/slide_render.c
index d055c0a..0eb6098 100644
--- a/src/slide_render.c
+++ b/src/slide_render.c
@@ -111,7 +111,7 @@ void redraw_slide(struct slide *s)
h = (s->parent->slide_height/s->parent->slide_width) * w;
s->rendered_proj = render_slide(s, w, h);
- da = s->parent->drawingarea;
+ da = s->parent->ss_drawingarea;
if ( da != NULL ) {
gdk_window_invalidate_rect(da->window, NULL, FALSE);
}