invalidate rect

This commit is contained in:
Sebastian Ramacher 2011-04-19 15:26:26 +02:00
parent 45afe89e87
commit 4eef03c201

View file

@ -218,7 +218,7 @@ page_expose_event(GtkWidget* widget, GdkEventExpose* event, gpointer data)
}
girara_info("page->num %d page->surface: %p", page->number, page->surface);
if (page->surface == NULL) {
if (page->surface != NULL) {
cairo_set_source_surface(cairo, page->surface, 0, 0);
cairo_paint(cairo);