Remove no longer used code.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4435 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt
index ecf7b69..5988640 100644
--- a/vncviewer/CMakeLists.txt
+++ b/vncviewer/CMakeLists.txt
@@ -13,10 +13,6 @@
   keysym2ucs.c
   vncviewer.cxx)
 
-if(APPLE)
-  set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} osx_utils.m)
-endif()
-
 add_executable(vncviewer ${VNCVIEWER_SOURCES})
 
 target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index d712b8e..ee8e539 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -43,10 +43,6 @@
 
 using namespace rfb;
 
-#ifdef __APPLE__
-extern "C" const char *osx_event_string(void);
-#endif
-
 extern void exit_vncviewer();
 extern void about_vncviewer();
 
diff --git a/vncviewer/osx_utils.m b/vncviewer/osx_utils.m
deleted file mode 100644
index fdb1985..0000000
--- a/vncviewer/osx_utils.m
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2011 Pierre Ossman <ossman@cendio.se> for Cendio AB
- * 
- * This 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 software 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 software; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
- * USA.
- */
-
-#import <Cocoa/Cocoa.h>
-
-const char *osx_event_string(void)
-{
-    return [[[NSApp currentEvent] charactersIgnoringModifiers] UTF8String];
-}
-