Fix up unix fallout from previous change.
2006-06-08 Alexander Larsson <alexl@redhat.com> * gtk/gtkprintoperation-unix.c (finish_print): Fix up unix fallout from previous change.
This commit is contained in:

committed by
Alexander Larsson

parent
79041f07cd
commit
fd3b835e29
@ -1,3 +1,8 @@
|
|||||||
|
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkprintoperation-unix.c (finish_print):
|
||||||
|
Fix up unix fallout from previous change.
|
||||||
|
|
||||||
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkprintoperation-win32.c:
|
* gtk/gtkprintoperation-win32.c:
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkprintoperation-unix.c (finish_print):
|
||||||
|
Fix up unix fallout from previous change.
|
||||||
|
|
||||||
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
2006-06-08 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkprintoperation-win32.c:
|
* gtk/gtkprintoperation-win32.c:
|
||||||
|
@ -177,7 +177,7 @@ _gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op,
|
|||||||
GdkScreen *screen;
|
GdkScreen *screen;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
cairo_surface_destroy (pop->surface);
|
cairo_surface_destroy (surface);
|
||||||
|
|
||||||
settings = gtk_settings_get_default ();
|
settings = gtk_settings_get_default ();
|
||||||
g_object_get (settings, "gtk-print-preview-command", &preview_cmd, NULL);
|
g_object_get (settings, "gtk-print-preview-command", &preview_cmd, NULL);
|
||||||
@ -438,7 +438,7 @@ finish_print (PrintResponseData *rdata,
|
|||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
if (rdata->print_cb)
|
if (rdata->print_cb)
|
||||||
rdata->print_cb (op, rdata->do_print, rdata->parent, rdata->result);
|
rdata->print_cb (op, rdata->parent, rdata->do_print, rdata->result);
|
||||||
|
|
||||||
if (rdata->destroy)
|
if (rdata->destroy)
|
||||||
rdata->destroy (rdata);
|
rdata->destroy (rdata);
|
||||||
|
Reference in New Issue
Block a user