aboutsummaryrefslogtreecommitdiffstats
path: root/isprint.h
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-07 05:22:54 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-07 05:22:54 +0000
commitc3af6aae8a8dc5a8d82dcb207ff75f6ab3565cc7 (patch)
tree3f861f04f60e8872bcf7f82f56de654af93a7590 /isprint.h
parentb8844e230b5391353b659cb5bcd87a4c8b94dc89 (diff)
- Remove GLIB1 code
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION - Remove ws_strsplit files because we no longer need to borrow GLIB2's g_strsplit code for the no longer supported GLIB1 builds git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24829 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'isprint.h')
-rw-r--r--isprint.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/isprint.h b/isprint.h
index 1277a6c25f..e4f4d38db9 100644
--- a/isprint.h
+++ b/isprint.h
@@ -26,7 +26,6 @@
#ifndef __ISPRINT_H__
#define __ISPRINT_H__
-#if GLIB_MAJOR_VERSION >= 2
/*
* 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
@@ -34,13 +33,8 @@
* 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.
- *
- * We don't know what version of GTK+ we're using, as dissectors don't
- * use any GTK+ stuff; we use GLib as a proxy for that, with GLib 2.x
- * implying GTK+ 1.3 or later (we don't support GLib 1.3[.x]).
*/
#undef isprint
#define isprint(c) (c >= 0x20 && c < 0x7f)
-#endif
#endif