diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-03-26 01:05:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-03-26 01:05:29 +0000 |
commit | 5ef0665d34a663cf0708a8105037839f72fca280 (patch) | |
tree | f346cc25cb928c03a52254adcdc201a8155c4dcd /gtk/recent.h | |
parent | 67c8764353a88554f26b74487f6107bbd864989a (diff) | |
download | wireshark-5ef0665d34a663cf0708a8105037839f72fca280.tar.gz |
Create the directory for the preferences files before writing out the
"recent" file.
Have "write_recent()" handle putting up error windows for failed
attempts to write the "recent" file.
svn path=/trunk/; revision=13909
Diffstat (limited to 'gtk/recent.h')
-rw-r--r-- | gtk/recent.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/recent.h b/gtk/recent.h index 6307b58b1d..f034962c35 100644 --- a/gtk/recent.h +++ b/gtk/recent.h @@ -67,10 +67,9 @@ extern recent_settings_t recent; /** Write recent settings file. * - * @param rf_path_return path to recent file if function failed - * @return 0 if succeeded, errno if failed + * @return TRUE if succeeded, FALSE if failed */ -extern int write_recent(char **rf_path_return); +extern gboolean write_recent(void); /** Read recent settings file. * |