aboutsummaryrefslogtreecommitdiffstats
path: root/ui_util.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-10 17:29:26 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-10 17:29:26 +0000
commitaeefb2c3003a98609c885c9b17b59193ad9054e7 (patch)
tree41984f930d2e6c28ca884691120968ecb62e5eaa /ui_util.h
parent7ff59c4d54392d693bb5ded0b98b7a7d9654c40e (diff)
close the Save (As) dialog, when the capture file is closed
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9642 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ui_util.h')
-rw-r--r--ui_util.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui_util.h b/ui_util.h
index 8c0bc11332..4cfb4d826c 100644
--- a/ui_util.h
+++ b/ui_util.h
@@ -1,7 +1,7 @@
/* ui_util.h
* Definitions for UI utility routines
*
- * $Id: ui_util.h,v 1.14 2003/12/09 06:48:38 guy Exp $
+ * $Id: ui_util.h,v 1.15 2004/01/10 17:29:26 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,6 +57,13 @@ void clear_tree_and_hex_views(void);
/* Destroy all popup packet windows. */
void destroy_packet_wins(void);
+/* Destroy the save as dialog */
+void file_save_as_destroy(void);
+
+#define destroy_cfile_wins() \
+ destroy_packet_wins(); \
+ file_save_as_destroy();
+
#ifdef __cplusplus
}
#endif /* __cplusplus */