aboutsummaryrefslogtreecommitdiffstats
path: root/ui_util.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-10 17:29:26 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-10 17:29:26 +0000
commita6ff7799a22f66995090a37875a38ca535517cf5 (patch)
tree41984f930d2e6c28ca884691120968ecb62e5eaa /ui_util.h
parenta25df4f95fa7453c3cbe333b1ee095c0d5baf1b5 (diff)
close the Save (As) dialog, when the capture file is closed
svn path=/trunk/; revision=9642
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 */