From 7ef9fc1db488a53e12980f367eb8666f4e840bfb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 12 Nov 2013 00:46:39 +0100 Subject: workaround a gtk+3 regression (bgo#711873) See https://bugzilla.gnome.org/show_bug.cgi?id=711873 --- perl-install/standalone/drakclock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 5e38ff6e3..a61ac98ac 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -190,7 +190,7 @@ if (-e $ntpfile && is_ntp_daemon_running()) { } else { ntp_widget_state(0) } my $pressed; -$drawing_area->set_events([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]); +$drawing_area->set_events(${ Gtk3::Gdk::EventMask->new([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]) }); $drawing_area->signal_connect(draw => \&draw); $drawing_area->signal_connect(realize => sub { my $window = $drawing_area->get_window; -- cgit v1.2.1