Don't have "write_prefs()" display a dialog box if the attempt to open
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 3 Jan 2000 06:29:39 +0000 (06:29 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 3 Jan 2000 06:29:39 +0000 (06:29 +0000)
commit32063976966788167a9c0672985e101e7b4a0d2c
treee4574fea9d9f020a19787b715c774abd43b31570
parentac62c670c3b2c37f4b1ebdd7c6b98592f028612a
Don't have "write_prefs()" display a dialog box if the attempt to open
the preferences file fails, have it return an error indication and the
path of the preferences file, and have its caller display the dialog
box.  That way you don't have to drag in the dialog box code if you're
going to use the preferences code in, say, a "line-mode" Ethereal.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1413 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/prefs_dlg.c
prefs.c
prefs.h