Revision: 4435
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4435&view=rev
Author:   ossman_
Date:     2011-05-20 12:12:59 +0000 (Fri, 20 May 2011)

Log Message:
-----------
Remove no longer used code.

Modified Paths:
--------------
    trunk/vncviewer/CMakeLists.txt
    trunk/vncviewer/Viewport.cxx

Removed Paths:
-------------
    trunk/vncviewer/osx_utils.m

Modified: trunk/vncviewer/CMakeLists.txt
===================================================================
--- trunk/vncviewer/CMakeLists.txt      2011-05-20 12:05:20 UTC (rev 4434)
+++ trunk/vncviewer/CMakeLists.txt      2011-05-20 12:12:59 UTC (rev 4435)
@@ -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})

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2011-05-20 12:05:20 UTC (rev 4434)
+++ trunk/vncviewer/Viewport.cxx        2011-05-20 12:12:59 UTC (rev 4435)
@@ -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();
 

Deleted: trunk/vncviewer/osx_utils.m
===================================================================
--- trunk/vncviewer/osx_utils.m 2011-05-20 12:05:20 UTC (rev 4434)
+++ trunk/vncviewer/osx_utils.m 2011-05-20 12:12:59 UTC (rev 4435)
@@ -1,25 +0,0 @@
-/* Copyright 2011 Pierre Ossman <[email protected]> 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];
-}
-


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to