[gimp/gimp-2-6] Bug 631199 - Printing and Print preview broken with cairo 1.10
- From: Sven Neumann <neo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-6] Bug 631199 - Printing and Print preview broken with cairo 1.10
- Date: Sun, 3 Oct 2010 12:06:49 +0000 (UTC)
commit c58dc682e6dbbcf2ad5eb162ae84e15f12ae74a1
Author: Sven Neumann <sven gimp org>
Date: Sun Oct 3 14:05:20 2010 +0200
Bug 631199 - Printing and Print preview broken with cairo 1.10
Add missing calls to cairo_surface_mark_dirty().
(cherry picked from commit 6be41a6675007a0c7328453c654bcda5a2b875b0)
plug-ins/print/print-draw-page.c | 2 ++
plug-ins/print/print-preview.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/print/print-draw-page.c b/plug-ins/print/print-draw-page.c
index a5a41cb..5f0cbfe 100644
--- a/plug-ins/print/print-draw-page.c
+++ b/plug-ins/print/print-draw-page.c
@@ -240,6 +240,8 @@ print_cairo_surface_from_drawable (gint32 drawable_ID)
gimp_drawable_detach (drawable);
+ cairo_surface_mark_dirty (surface);
+
return surface;
}
diff --git a/plug-ins/print/print-preview.c b/plug-ins/print/print-preview.c
index 89bde20..7158af6 100644
--- a/plug-ins/print/print-preview.c
+++ b/plug-ins/print/print-preview.c
@@ -864,5 +864,7 @@ print_preview_get_thumbnail (GimpDrawable *drawable,
g_free (data);
+ cairo_surface_mark_dirty (surface);
+
return surface;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]