[poe-commits] SF.net SVN: poe: [2004] trunk/poe/lib/POE/Loop/Gtk.pm
Brought to you by:
rcaputo
From: <bs...@us...> - 2006-06-27 08:22:14
|
Revision: 2004 Author: bsmith Date: 2006-06-27 01:22:05 -0700 (Tue, 27 Jun 2006) ViewCVS: http://svn.sourceforge.net/poe/?rev=2004&view=rev Log Message: ----------- Close ticket 20127 by adding an idle watcher that runs _loop_resume_timer if no other watcher has been created at loop_run time. Modified Paths: -------------- trunk/poe/lib/POE/Loop/Gtk.pm Modified: trunk/poe/lib/POE/Loop/Gtk.pm =================================================================== --- trunk/poe/lib/POE/Loop/Gtk.pm 2006-06-25 18:34:21 UTC (rev 2003) +++ trunk/poe/lib/POE/Loop/Gtk.pm 2006-06-27 08:22:05 UTC (rev 2004) @@ -300,6 +300,9 @@ } sub loop_run { + unless (defined $_watcher_timer) { + $_watcher_timer = Gtk->idle_add(\&_loop_resume_timer); + } Gtk->main; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |