diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-10-11 17:20:50 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-10-11 17:20:50 +0000 |
commit | 259768dc1ae8894c1ae758c762389e3926be4bfb (patch) | |
tree | 302f8e99883053a6fad30cd5fb114ffc191517c8 /ui/util.h | |
parent | ee5397d832bc1b19791ffe1280621a6b327cae23 (diff) |
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
Diffstat (limited to 'ui/util.h')
-rw-r--r-- | ui/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 } |