From 84c2106c83ce1eb1b0012e9714ef15875e202e72 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 26 Jan 2009 18:29:31 +0000 Subject: Move ev_dot_dir() from libdocument to shell, since it shouldn't be public * libdocument/ev-file-helpers.c: (ev_dir_ensure_exists), (ev_tmp_dir), (ev_file_helpers_init), (ev_file_helpers_shutdown): * libdocument/ev-file-helpers.h: * shell/ev-application.c: (ev_application_shutdown), (ev_application_init), (ev_application_screensaver_disable), (ev_application_save_print_settings), (ev_application_set_page_setup): * shell/ev-application.h: * shell/ev-metadata-manager.c: (load_values), (ev_metadata_manager_save): Move ev_dot_dir() from libdocument to shell, since it shouldn't be public API. Bug #569120. * libdocument/ev-file-helpers.c: (ev_tmp_filename): Use g_get_prgname() instead of hardcoding "evince" for the tmpdir name. svn path=/trunk/; revision=3383 --- (limited to 'libdocument/ev-file-helpers.h') diff --git a/libdocument/ev-file-helpers.h b/libdocument/ev-file-helpers.h index 2c27b38..51d763d 100644 --- a/libdocument/ev-file-helpers.h +++ b/libdocument/ev-file-helpers.h @@ -36,14 +36,15 @@ typedef enum { EV_COMPRESSION_GZIP } EvCompressionType; -const gchar *ev_dot_dir (void); - const gchar *ev_tmp_dir (void); void ev_file_helpers_init (void); void ev_file_helpers_shutdown (void); +gboolean ev_dir_ensure_exists (const gchar *dir, + int mode); + GFile *ev_tmp_file_get (const gchar *prefix); gchar *ev_tmp_filename (const char *prefix); void ev_tmp_filename_unlink (const gchar *filename); -- cgit v0.9.1