diff options
author | Olivier Biot <obiot.ethereal@gmail.com> | 2004-05-01 22:55:22 +0000 |
---|---|---|
committer | Olivier Biot <obiot.ethereal@gmail.com> | 2004-05-01 22:55:22 +0000 |
commit | ec6f31bceda41684ab5eb972438b125a7a2a19b3 (patch) | |
tree | 69c1c20378714d2b39c3565eacb5abc0d5889ccd /simple_dialog.h | |
parent | 2baed8579aa09cb80b7decc342ce04a8ddf864fa (diff) |
The display filter engine can return an error message that is not safe
when using GTK2 code for rendering the error. In order to correctly
render the error message, it must be XML escaped.
TODO: track down the remaining places where this XML escaping is
required, and fix it there too (not sure if they exist though).
svn path=/trunk/; revision=10764
Diffstat (limited to 'simple_dialog.h')
-rw-r--r-- | simple_dialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simple_dialog.h b/simple_dialog.h index 44df274c57..2719ef2546 100644 --- a/simple_dialog.h +++ b/simple_dialog.h @@ -2,7 +2,7 @@ * Definitions for alert box routines with toolkit-independent APIs but * toolkit-dependent implementations. * - * $Id: simple_dialog.h,v 1.12 2004/04/16 23:16:28 guy Exp $ + * $Id: simple_dialog.h,v 1.13 2004/05/01 22:55:22 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -79,6 +79,7 @@ typedef void (* simple_dialog_cb_t) (gpointer dialog, gint btn, gpointer data); extern void simple_dialog_set_cb(gpointer dialog, simple_dialog_cb_t callback_fct, gpointer data); extern char *simple_dialog_primary_start(void); +extern char *simple_dialog_format_message(const char *msg); extern char *simple_dialog_primary_end(void); /* |