From f2364ce93b0aeecee7581e61bd892fb25bc06dba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 14 Jun 2007 12:44:23 +0000 Subject: [PATCH] Backport from trunk: 2007-06-14 Matthias Clasen Backport from trunk: * gtk/gtkprintoperation.c (pdf_end_run): Fix a refcounting problem with the EXPORT action. (#440040, Chris Vine) svn path=/branches/gtk-2-10/; revision=18133 --- ChangeLog | 7 +++++++ gtk/gtkprintoperation.c | 3 +++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index ccc8a8883a..940fff6ced 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-06-14 Matthias Clasen + + Backport from trunk: + + * gtk/gtkprintoperation.c (pdf_end_run): Fix a refcounting + problem with the EXPORT action. (#440040, Chris Vine) + 2007-06-13 Michael Natterer Merge from trunk: diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 6f901f06eb..d9181c1e80 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -1813,6 +1813,9 @@ pdf_end_run (GtkPrintOperation *op, cairo_surface_finish (surface); cairo_surface_destroy (surface); + + priv->platform_data = NULL; + priv->free_platform_data = NULL; } static GtkPrintOperationResult