From 259768dc1ae8894c1ae758c762389e3926be4bfb Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 11 Oct 2013 17:20:50 +0000 Subject: Remove GTK+ and global cfile dependencies from file_dlg_win32.c. Move the declaration of set_last_open_dir() to ui/util.h. It still has separate GTK+ and Qt implemenations. We might want to move it to ui/util.c at some point. Remove a lot of unnecessary GTK+ includes. Remove most of the references to the global cfile while we're at it. svn path=/trunk/; revision=52542 --- ui/util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui/util.h') diff --git a/ui/util.h b/ui/util.h index 214443292f..7fb5e17df1 100644 --- a/ui/util.h +++ b/ui/util.h @@ -52,6 +52,12 @@ void compute_timestamp_diff(gint *diffsec, gint *diffusec, */ const char *get_conn_cfilter(void); +/** Set the latest opened directory. + * Will already be done when using file_selection_new(). + * + * @param dirname the dirname + */ +extern void set_last_open_dir(const char *dirname); #ifdef __cplusplus } -- cgit v1.2.1