aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-08 21:21:48 +0000
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-08 21:21:48 +0000
commitb67547690f0808f1a532770f1f999e138f80de84 (patch)
tree9cb2c0e571e1239faf2aa1b5112a2e4d69354619 /color_filters.c
parentc1b95b0e3cb555e962cb4379d2f874dde587befd (diff)
Display a console warning instead of a simple_dialog for invalid color filters.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36173 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/color_filters.c b/color_filters.c
index dd3b7e5d2f..a37759333f 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -571,9 +571,8 @@ read_filters_file(FILE *f, gpointer user_data)
dfilter_t *temp_dfilter;
if (!dfilter_compile(filter_exp, &temp_dfilter)) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "Could not compile color filter %s from saved filters.\n%s",
- name, dfilter_error_msg);
+ g_warning("Could not compile color filter \"%s\" from saved filters: %s",
+ name, dfilter_error_msg);
skip_end_of_line = TRUE;
continue;
}