Commit 4c8e92f4 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Update for api changes.

2006-06-08  Matthias Clasen  <mclasen@redhat.com>

	* tests/print-editor.c: Update for api changes.
parent 0e36f1b5
2006-06-08 Matthias Clasen <mclasen@redhat.com>
* tests/print-editor.c: Update for api changes.
* gtk/gtk.h: Include gtkprintoperationpreview.h
* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected):
......
2006-06-08 Matthias Clasen <mclasen@redhat.com>
* tests/print-editor.c: Update for api changes.
* gtk/gtk.h: Include gtkprintoperationpreview.h
* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected):
......
......@@ -608,14 +608,14 @@ print_done (GtkPrintOperation *op,
GtkPrintOperationResult res,
PrintData *print_data)
{
GError *error;
GError *error = NULL;
if (res == GTK_PRINT_OPERATION_RESULT_ERROR)
{
GtkWidget *error_dialog;
error = gtk_print_operation_get_error (op);
gtk_print_operation_get_error (op, &error);
error_dialog = gtk_message_dialog_new (GTK_WINDOW (main_window),
GTK_DIALOG_DESTROY_WITH_PARENT,
......@@ -678,7 +678,7 @@ do_print (GtkAction *action)
g_signal_connect (print, "done", G_CALLBACK (print_done), print_data);
gtk_print_operation_set_pdf_target (print, "test.pdf");
gtk_print_operation_set_export_filename (print, "test.pdf");
#if 0
gtk_print_operation_set_allow_async (print, TRUE);
......
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