follow_stream: rework "save as" slightly:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 1 Jun 2009 19:43:58 +0000 (19:43 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 1 Jun 2009 19:43:58 +0000 (19:43 +0000)
commitc462a1a351cbadcdf27fd5e1ca33e49d8a22d3bf
tree0c7d76016481ea0449ee65f824c2a42b9912a3cb
parentcf53bf2f6b7817c588c015c63bad96ad88ba3397
follow_stream: rework "save as" slightly:
  - Prevent "dead" save-as window if unable to open file for write
     or if a directory is entered as the filename;
     Work-around is to always kill save-as window whether success
      or an error causing alert-box popup;
  - Fix a memory leak.
  - Define certain functions used only in follow_stream.c as static;
    (Remove declarations for them from follow_stream.h)

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