summaryrefslogtreecommitdiff
path: root/ui/alert_box.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-04 20:08:59 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-04 20:08:59 +0000
commit00de07144d4aafddc7f23b8af7157a015c707dfb (patch)
tree42777a216744b2be04c9f414691f2a19c96b589e /ui/alert_box.c
parent91b777712ac83700b4de63be118ed3ee36104bad (diff)
downloadwireshark-00de07144d4aafddc7f23b8af7157a015c707dfb.tar.gz
Use the modal version of the bad display filter alert box in the I/O
statistics window. Get rid of the non-modal version (it's not being used any more), and remove the now-redundant _modal from the modal version. svn path=/trunk/; revision=43081
Diffstat (limited to 'ui/alert_box.c')
-rw-r--r--ui/alert_box.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/ui/alert_box.c b/ui/alert_box.c
index 148f35689c..eacddef189 100644
--- a/ui/alert_box.c
+++ b/ui/alert_box.c
@@ -112,23 +112,3 @@ write_failure_alert_box(const char *filename, int err)
file_write_error_message(err), filename);
}
}
-
-/*
- * Alert box for an invalid display filter expression.
- * Assumes "dfilter_error_msg" has been set by "dfilter_compile()" to the
- * error message for the filter.
- *
- * XXX - should this have a "Help" button that pops up the display filter
- * help?
- */
-void
-bad_dfilter_alert_box(const char *dftext)
-{
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "%s%s%s\n"
- "\n"
- "The filter expression \"%s\" isn't a valid display filter.\n"
- "See the help for a description of the display filter syntax.",
- simple_dialog_primary_start(), dfilter_error_msg,
- simple_dialog_primary_end(), dftext);
-}