summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:59:05 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:30:34 +0100
commitfbc6096472f65a0a7dd4180e8bb0269f263cf6ec (patch)
treecd9c34d83118163d33a1f09dcbcb53d436b32e7d /lib
parent7837c6fe4a41072357177c33fc47380a44aea78c (diff)
downloaddrakx-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.pm2
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,