summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-unix.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-06-08 09:18:38 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-06-08 09:18:38 +0000
commitfd3b835e297f1ce565faebcc997f4a86e847efa1 (patch)
treed6f3242330a373cc8457bf6fac17ee11c0831543 /gtk/gtkprintoperation-unix.c
parent79041f07cd6b9be3e091f86b1b3439108a5bce5b (diff)
downloadgtk+-fd3b835e297f1ce565faebcc997f4a86e847efa1.tar.gz
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.
Diffstat (limited to 'gtk/gtkprintoperation-unix.c')
-rw-r--r--gtk/gtkprintoperation-unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index 46ce889be9..e87927a806 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -177,7 +177,7 @@ _gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op,
GdkScreen *screen;
GError *error = NULL;
- cairo_surface_destroy (pop->surface);
+ cairo_surface_destroy (surface);
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-print-preview-command", &preview_cmd, NULL);
@@ -438,7 +438,7 @@ finish_print (PrintResponseData *rdata,
}
out:
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)
rdata->destroy (rdata);