[gimp] 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] Bug 631199 - Printing and Print preview broken with cairo 1.10
- Date: Sun, 3 Oct 2010 12:05:46 +0000 (UTC)
commit 6be41a6675007a0c7328453c654bcda5a2b875b0
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().
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 69628eb..4cc02ae 100644
--- a/plug-ins/print/print-draw-page.c
+++ b/plug-ins/print/print-draw-page.c
@@ -254,6 +254,8 @@ print_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 aa7a98f..d538483 100644
--- a/plug-ins/print/print-preview.c
+++ b/plug-ins/print/print-preview.c
@@ -880,5 +880,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]