diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-01-26 18:29:31 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-01-26 18:29:31 (GMT) |
commit | 84c2106c83ce1eb1b0012e9714ef15875e202e72 (patch) | |
tree | bb20dd741519c3b73b860219d14a6b69a28ab8c6 /libdocument/ev-file-helpers.h | |
parent | d8e0f342c454da540242925c83a218d6c24be3dd (diff) |
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
Diffstat (limited to 'libdocument/ev-file-helpers.h')
-rw-r--r-- | libdocument/ev-file-helpers.h | 5 |
1 files changed, 3 insertions, 2 deletions
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); |