Author: manolo
Date: 2010-12-13 04:21:12 -0800 (Mon, 13 Dec 2010)
New Revision: 8023
Log:
Mac OS X: removed unused global variable fl_selection_requestor

Modified:
   branches/branch-1.3/src/Fl.cxx
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl.cxx
===================================================================
--- branches/branch-1.3/src/Fl.cxx      2010-12-12 23:21:03 UTC (rev 8022)
+++ branches/branch-1.3/src/Fl.cxx      2010-12-13 12:21:12 UTC (rev 8023)
@@ -927,7 +927,7 @@
   }
 }
 
-#ifndef WIN32
+#if !(defined(WIN32) || defined(__APPLE__))
 extern Fl_Widget *fl_selection_requestor; // from Fl_x.cxx
 #endif
 
@@ -945,7 +945,7 @@
 #endif // DEBUG
 
   if (o->contains(Fl::pushed())) Fl::pushed_ = 0;
-#ifndef WIN32
+#if !(defined(WIN32) || defined(__APPLE__))
   if (o->contains(fl_selection_requestor)) fl_selection_requestor = 0;
 #endif
   if (o->contains(Fl::belowmouse())) Fl::belowmouse_ = 0;

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2010-12-12 23:21:03 UTC (rev 8022)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2010-12-13 12:21:12 UTC (rev 8023)
@@ -2324,7 +2324,6 @@
 const size_t handledFlavorsCount = sizeof(encodings)/sizeof(CFStringEncoding);
 
 // clipboard variables definitions :
-Fl_Widget *fl_selection_requestor = 0;
 char *fl_selection_buffer[2];
 int fl_selection_length[2];
 static int fl_selection_buffer_length[2];

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to