Author: manolo
Date: 2010-12-03 07:39:16 -0800 (Fri, 03 Dec 2010)
New Revision: 7943
Log:
Removed breakMacEventLoop() from function Fl::remove_timeout that is apparently
not needed.
Modified:
branches/branch-1.3/src/Fl_cocoa.mm
Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2010-12-02 22:59:30 UTC (rev 7942)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2010-12-03 15:39:16 UTC (rev 7943)
@@ -2494,14 +2494,11 @@
void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
{
- if (mac_timer_used) {
- for (int i = 0; i < mac_timer_used; ++i) {
- MacTimeout& t = mac_timers[i];
- if (t.callback == cb && ( t.data == data || data == NULL)) {
- delete_timer(t);
- }
+ for (int i = 0; i < mac_timer_used; ++i) {
+ MacTimeout& t = mac_timers[i];
+ if (t.callback == cb && ( t.data == data || data == NULL)) {
+ delete_timer(t);
}
- breakMacEventLoop();
}
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit