perl-Gtk2 r2129 - in trunk: . t
- From: tsch svn gnome org
- To: svn-commits-list gnome org
- Subject: perl-Gtk2 r2129 - in trunk: . t
- Date: Fri, 6 Feb 2009 14:06:40 +0000 (UTC)
Author: tsch
Date: Fri Feb 6 14:06:40 2009
New Revision: 2129
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2129&view=rev
Log:
Use Gtk2->main_iteration instead of Gtk2::TestHelper's run_main to spin the
main loop. This avoids hangs on some machines. Patch by Jeffrey Ratcliffe.
Modified:
trunk/ChangeLog
trunk/t/GtkRecentChooser.t
trunk/t/GtkRecentManager.t
Modified: trunk/t/GtkRecentChooser.t
==============================================================================
--- trunk/t/GtkRecentChooser.t (original)
+++ trunk/t/GtkRecentChooser.t Fri Feb 6 14:06:40 2009
@@ -50,7 +50,7 @@
$manager -> add_item($uri_two);
# add_item() is asynchronous, so let the main loop spin for a while
-run_main while !$manager->get_items;
+Gtk2->main_iteration while !$manager->get_items;
$chooser -> set_select_multiple(FALSE);
Modified: trunk/t/GtkRecentManager.t
==============================================================================
--- trunk/t/GtkRecentManager.t (original)
+++ trunk/t/GtkRecentManager.t Fri Feb 6 14:06:40 2009
@@ -53,7 +53,7 @@
$manager->add_item($icon_uri);
# add_item() is asynchronous, so let the main loop spin for a while
- run_main while !$manager->get_items;
+ Gtk2->main_iteration while !$manager->get_items;
ok($manager->has_item($icon_uri), 'check add item');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]