diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-12 00:46:39 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:17 +0100 |
commit | 7ef9fc1db488a53e12980f367eb8666f4e840bfb (patch) | |
tree | b37296602cffa66f2e3a3155e5e0401b58a66a33 /perl-install/standalone/drakclock | |
parent | 223b6253caecac05649558ec31bd5210768c0dbb (diff) | |
download | drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.gz drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.bz2 drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.tar.xz drakx-7ef9fc1db488a53e12980f367eb8666f4e840bfb.zip |
workaround a gtk+3 regression (bgo#711873)
See https://bugzilla.gnome.org/show_bug.cgi?id=711873
Diffstat (limited to 'perl-install/standalone/drakclock')
-rwxr-xr-x | perl-install/standalone/drakclock | 2 |
1 files changed, 1 insertions, 1 deletions
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; |