/* XXX - should this have a "Help" button that pops up the display filter help?  */
void bad_dfilter_alert_box(GtkWidget *parent, const char *dftext, gchar *err_msg)
/* XXX - should this have a "Help" button that pops up the display filter help?  */
void bad_dfilter_alert_box(GtkWidget *parent, const char *dftext, gchar *err_msg)
{
    GtkWidget *msg_dialog;
    msg_dialog = gtk_message_dialog_new(GTK_WINDOW(parent),
                                        GTK_DIALOG_DESTROY_WITH_PARENT,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_OK,
            "The filter expression \"%s\" isn't a valid display filter. (%s)",
                                        dftext, err_msg);
    gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(msg_dialog),
         "See the help for a description of the display filter syntax.");
    gtk_dialog_run(GTK_DIALOG(msg_dialog));
    gtk_widget_destroy(msg_dialog);
}