diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-18 01:59:05 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:30:34 +0100 |
commit | fbc6096472f65a0a7dd4180e8bb0269f263cf6ec (patch) | |
tree | cd9c34d83118163d33a1f09dcbcb53d436b32e7d /lib | |
parent | 7837c6fe4a41072357177c33fc47380a44aea78c (diff) | |
download | drakx-kbd-mouse-x11-fbc6096472f65a0a7dd4180e8bb0269f263cf6ec.tar drakx-kbd-mouse-x11-fbc6096472f65a0a7dd4180e8bb0269f263cf6ec.tar.gz drakx-kbd-mouse-x11-fbc6096472f65a0a7dd4180e8bb0269f263cf6ec.tar.bz2 drakx-kbd-mouse-x11-fbc6096472f65a0a7dd4180e8bb0269f263cf6ec.tar.xz drakx-kbd-mouse-x11-fbc6096472f65a0a7dd4180e8bb0269f263cf6ec.zip |
workaround a gtk+3 regression (bgo#711873)
See https://bugzilla.gnome.org/show_bug.cgi?id=711873
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mouse.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm index 51de483..f48b06a 100644 --- a/lib/mouse.pm +++ b/lib/mouse.pm @@ -487,7 +487,7 @@ sub test_mouse_install { ugtk3->import(qw(:wrappers :create)); my $w = ugtk3->new(N("Testing the mouse"), disallow_big_help => 1); my $darea = Gtk3::DrawingArea->new; - $darea->set_events([ 'button_press_mask', 'button_release_mask' ]); #$darea must be unrealized. + $darea->set_events(${ Gtk3::Gdk::EventMask->new([ 'button_press_mask', 'button_release_mask' ]) }); #$darea must be unrealized. gtkadd($w->{window}, gtkpack(my $vbox_grab = Gtk3::VBox->new(0, 0), $darea, |