Commit f3e297cf authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos

Delete the print settings file.

2009-04-08  Carlos Garcia Campos  <carlosgc@gnome.org>

	* previewer/ev-previewer.c: (ev_previewer_unlink_tempfile),
	(main):

	Delete the print settings file.

svn path=/trunk/; revision=3580
parent e5c6189a
2009-04-08 Carlos Garcia Campos <carlosgc@gnome.org>
* previewer/ev-previewer.c: (ev_previewer_unlink_tempfile),
(main):
Delete the print settings file.
2009-04-08 Carlos Garcia Campos <carlosgc@gnome.org>
* data/evince-ui.xml:
......
......@@ -43,9 +43,6 @@ static void
ev_previewer_unlink_tempfile (const gchar *filename)
{
GFile *file, *tempdir;
if (!unlink_temp_file)
return;
file = g_file_new_for_path (filename);
tempdir = g_file_new_for_path (g_get_tmp_dir ());
......@@ -158,7 +155,10 @@ main (gint argc, gchar **argv)
gtk_main ();
ev_previewer_unlink_tempfile (filename);
if (unlink_temp_file)
ev_previewer_unlink_tempfile (filename);
if (print_settings)
ev_previewer_unlink_tempfile (print_settings);
ev_shutdown ();
ev_stock_icons_shutdown ();
......
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