aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gtkglobals.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-09 23:02:38 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-09 23:02:38 +0000
commitfe1b0f99c4015d93f71fe35a549da186d5311f2e (patch)
treeedefaa04b81689eb419853046f49db16989a560c /gtk/gtkglobals.h
parent50ac5816130cde1d821259d2c4215a9b10e3d3a7 (diff)
downloadwireshark-fe1b0f99c4015d93f71fe35a549da186d5311f2e.tar.gz
wireshark-fe1b0f99c4015d93f71fe35a549da186d5311f2e.tar.bz2
wireshark-fe1b0f99c4015d93f71fe35a549da186d5311f2e.zip
In the GTK+ code, move the redefinition of "isprint()" to
"gtk/isprint.h", and include that in "follow_dlg.c" (which wasn't including "gtkglobals.h" and thus wasn't getting the redefinition) and "proto_draw.c" (which was including "gtkglobals.h" but now needs to include "isprint.h" as well). svn path=/trunk/; revision=11355
Diffstat (limited to 'gtk/gtkglobals.h')
-rw-r--r--gtk/gtkglobals.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h
index 31fd095a11..3469e8c378 100644
--- a/gtk/gtkglobals.h
+++ b/gtk/gtkglobals.h
@@ -1,7 +1,7 @@
/* gtkglobals.h
* GTK-related Global defines, etc.
*
- * $Id: gtkglobals.h,v 1.30 2004/06/17 16:35:24 ulfl Exp $
+ * $Id: gtkglobals.h,v 1.31 2004/07/09 23:02:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -54,17 +54,4 @@ extern GtkWidget *byte_nb_ptr;
/** The filter text entry in the filter toolbar. */
extern GtkWidget *main_display_filter_widget;
-#if GTK_MAJOR_VERSION >= 2 || GTK_MINOR_VERSION >= 3
-/**
- * XXX - "isprint()" can return "true" for non-ASCII characters, but
- * those don't work with GTK+ 1.3 or later, as they take UTF-8 strings
- * as input. Until we fix up Ethereal to properly handle non-ASCII
- * characters in all output (both GUI displays and text printouts)
- * in those versions of GTK+, we work around the problem by escaping
- * all characters that aren't printable ASCII.
- */
-#undef isprint
-#define isprint(c) (c >= 0x20 && c < 0x7f)
-#endif
-
#endif