/* This routine is called when the user clicks the "Clear" button in the "Decode As:Show..." dialog window. This routine resets all the dissector values and then destroys the dialog box and performs other housekeeping functions. */
static void decode_show_clear_cb(GtkWidget *clear_bt _U_, gpointer parent_w)
/* This routine is called when the user clicks the "Clear" button in the "Decode As:Show..." dialog window. This routine resets all the dissector values and then destroys the dialog box and performs other housekeeping functions. */
static void decode_show_clear_cb(GtkWidget *clear_bt _U_, gpointer parent_w)
{
    decode_clear_all();
    redissect_packets();
    redissect_all_packet_windows();
    window_destroy(GTK_WIDGET(parent_w));
    decode_show_cb(NULL, NULL);
}