mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Unset priv->platform_data and priv->free_platform_data to prevent
2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de> * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and priv->free_platform_data to prevent gtk_print_operation_finalize() from freeing the cairo surface a second time. svn path=/trunk/; revision=17851
This commit is contained in:
parent
06fc298662
commit
2293bbcd2d
@ -1,3 +1,9 @@
|
||||
2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
||||
|
||||
* gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
|
||||
priv->free_platform_data to prevent gtk_print_operation_finalize()
|
||||
from freeing the cairo surface a second time.
|
||||
|
||||
2007-05-14 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
|
||||
|
@ -1807,6 +1807,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
|
||||
|
Loading…
Reference in New Issue
Block a user