use the passed in destroy notify

This commit is contained in:
Matthias Clasen 2006-06-11 02:40:02 +00:00
parent 289d59857f
commit 1f09da45a6
3 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,11 @@
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/gtkprintbackendpdf.c
(gtk_print_backend_pdf_print_stream): Use the passed in
destroy notify. (#344513, Christian Persch)
* configure.in: Require cairo 1.1.7
* gtk/gtkprintoperation.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.

View File

@ -1,5 +1,11 @@
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/gtkprintbackendpdf.c
(gtk_print_backend_pdf_print_stream): Use the passed in
destroy notify. (#344513, Christian Persch)
* configure.in: Require cairo 1.1.7
* gtk/gtkprintoperation.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.

View File

@ -306,6 +306,7 @@ gtk_print_backend_pdf_print_stream (GtkPrintBackend *print_backend,
ps = g_new0 (_PrintStreamData, 1);
ps->callback = callback;
ps->user_data = user_data;
ps->dnotify = dnotify;
ps->job = g_object_ref (job);
ps->target_fd = creat (filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);