From 3588349bcec38d0915a8e1f0ea3949d683c4eb8c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 25 May 2007 16:43:19 +0000 Subject: Add functions to delete temporary files created by evince in a safe way. 2007-05-25 Carlos Garcia Campos * libdocument/ev-image.c: (ev_image_finalize): * libdocument/ev-document-factory.c: (free_uncompressed_uri): * libdocument/ev-attachment.c: (ev_attachment_finalize): * libdocument/ev-file-helpers.[ch]: (ev_tmp_filename_unlink), (ev_tmp_uri_unlink): Add functions to delete temporary files created by evince in a safe way. * shell/ev-window.c: (ev_window_clear_local_uri), (open_xfer_update_progress_callback), (save_xfer_update_progress_callback), (ev_window_save_remote), (file_save_dialog_response_cb), (ev_window_cmd_save_as), (image_save_dialog_response_cb), (ev_view_popup_cmd_save_image_as), (attachment_save_dialog_response_cb), (ev_attachment_popup_cmd_save_attachment_as): Allow saving a copy of a document, image or attachment to a remote location. Fixes bug #440754. svn path=/trunk/; revision=2478 --- (limited to 'shell/ev-application.c') diff --git a/shell/ev-application.c b/shell/ev-application.c index d2fe2dc..7633fb7 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -578,7 +578,7 @@ ev_application_open_uri (EvApplication *application, EvLinkDest *dest = NULL; EvWindowRunMode mode = EV_WINDOW_MODE_NORMAL; gboolean unlink_temp_file = FALSE; - const gchar *print_settings; + const gchar *print_settings = NULL; GdkScreen *screen = NULL; if (args) { -- cgit v0.9.1