mirror of https://github.com/GNOME/gimp.git
Bug 631199 - Printing and Print preview broken with cairo 1.10
Add missing calls to cairo_surface_mark_dirty().
This commit is contained in:
parent
69604ef12d
commit
6be41a6675
|
@ -254,6 +254,8 @@ print_surface_from_drawable (gint32 drawable_ID)
|
|||
|
||||
gimp_drawable_detach (drawable);
|
||||
|
||||
cairo_surface_mark_dirty (surface);
|
||||
|
||||
return surface;
|
||||
}
|
||||
|
||||
|
|
|
@ -880,5 +880,7 @@ print_preview_get_thumbnail (GimpDrawable *drawable,
|
|||
|
||||
g_free (data);
|
||||
|
||||
cairo_surface_mark_dirty (surface);
|
||||
|
||||
return surface;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue