aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-05-05 18:37:20 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-05-05 18:37:20 +0000
commit95a44fe52a55f9a13a0a0d8c9934fdb5e2027f22 (patch)
tree5627843f5322c6b23aaeb3fb48fb8b6f22e8af3e /gtk
parent57ebbbbb2c72ee51acee3c8d0300212217c460a4 (diff)
Remove gtk/isprint.h as it's not in use.
svn path=/trunk/; revision=25234
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.common1
-rw-r--r--gtk/isprint.h40
-rw-r--r--gtk/libui.vcproj4
3 files changed, 0 insertions, 45 deletions
diff --git a/gtk/Makefile.common b/gtk/Makefile.common
index b01e4d5e43..e7031f7cb8 100644
--- a/gtk/Makefile.common
+++ b/gtk/Makefile.common
@@ -239,7 +239,6 @@ noinst_HEADERS = \
gui_utils.h \
help_dlg.h \
hostlist_table.h \
- isprint.h \
keys.h \
macros_dlg.h \
main.h \
diff --git a/gtk/isprint.h b/gtk/isprint.h
deleted file mode 100644
index 85786e3154..0000000000
--- a/gtk/isprint.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* isprint.h
- * Temporary redefinition of "isprint()" to cope with GTK+ 1.3 and
- * later using UTF-8 strings
- *
- * $Id$
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef __ISPRINT_H__
-#define __ISPRINT_H__
-
-/**
- * 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 Wireshark 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
diff --git a/gtk/libui.vcproj b/gtk/libui.vcproj
index 4a3071f678..73f3ed74e1 100644
--- a/gtk/libui.vcproj
+++ b/gtk/libui.vcproj
@@ -882,10 +882,6 @@
>
</File>
<File
- RelativePath=".\isprint.h"
- >
- </File>
- <File
RelativePath=".\keys.h"
>
</File>