From d6633d0f580030471c705d49dea4f1212f8cf103 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 31 Oct 2005 11:16:08 +0000 Subject: Fix busy loop in gtk display (bug #15985, thanks to hajma) in what seems to be now-obsolete trick. (Wait message windows are becoming uncommon anyway.) --- rpmdrake.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 4d01f8ab..a1a5cbc7 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -306,8 +306,7 @@ sub wait_msg { if_(exists $options{widgets}, @{$options{widgets}}), ) ); - $label->signal_connect(expose_event => sub { $mainw->{displayed} = 1; 0 }); - $mainw->sync until $mainw->{displayed}; + $mainw->sync; gtkset_mousecursor_wait($mainw->{rwindow}->window) unless $options{no_wait_cursor}; $mainw->flush; $mainw; -- cgit v1.2.1