Commit ef6f4ca8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Initialize the do_preview field of PrintResponseData. (#396703, Christian

2007-03-10  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c: Initialize the do_preview
        field of PrintResponseData.  (#396703, Christian Persch)



svn path=/trunk/; revision=17453
parent 05e78f98
2007-03-10 Matthias Clasen <mclasen@redhat.com> 2007-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Initialize the do_preview
field of PrintResponseData. (#396703, Christian Persch)
* tests/print-editor.c: Plug some leaks. * tests/print-editor.c: Plug some leaks.
2007-03-09 Matthias Clasen <mclasen@redhat.com> 2007-03-09 Matthias Clasen <mclasen@redhat.com>
......
...@@ -550,6 +550,7 @@ _gtk_print_operation_platform_backend_run_dialog_async (GtkPrintOperation ...@@ -550,6 +550,7 @@ _gtk_print_operation_platform_backend_run_dialog_async (GtkPrintOperation
rdata = g_new (PrintResponseData, 1); rdata = g_new (PrintResponseData, 1);
rdata->op = g_object_ref (op); rdata->op = g_object_ref (op);
rdata->do_print = FALSE; rdata->do_print = FALSE;
rdata->do_preview = FALSE;
rdata->result = GTK_PRINT_OPERATION_RESULT_CANCEL; rdata->result = GTK_PRINT_OPERATION_RESULT_CANCEL;
rdata->print_cb = print_cb; rdata->print_cb = print_cb;
rdata->parent = parent; rdata->parent = parent;
...@@ -686,6 +687,7 @@ _gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op, ...@@ -686,6 +687,7 @@ _gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *op,
rdata.op = op; rdata.op = op;
rdata.do_print = FALSE; rdata.do_print = FALSE;
rdata.do_preview = FALSE;
rdata.result = GTK_PRINT_OPERATION_RESULT_CANCEL; rdata.result = GTK_PRINT_OPERATION_RESULT_CANCEL;
rdata.print_cb = NULL; rdata.print_cb = NULL;
rdata.destroy = NULL; rdata.destroy = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment