summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:49:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:43 +0100
commit74bd34a9b700cfb8619ad88ae8e2f018c953ca9e (patch)
treed10e0c0f9aff890371f073b4e147be104871049b /bin
parent5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb (diff)
downloaddrakx-net-74bd34a9b700cfb8619ad88ae8e2f018c953ca9e.tar
drakx-net-74bd34a9b700cfb8619ad88ae8e2f018c953ca9e.tar.gz
drakx-net-74bd34a9b700cfb8619ad88ae8e2f018c953ca9e.tar.bz2
drakx-net-74bd34a9b700cfb8619ad88ae8e2f018c953ca9e.tar.xz
drakx-net-74bd34a9b700cfb8619ad88ae8e2f018c953ca9e.zip
workaround a gtk+3 regression (bgo#711873)
See https://bugzilla.gnome.org/show_bug.cgi?id=711873
Diffstat (limited to 'bin')
-rwxr-xr-xbin/net_monitor2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/net_monitor b/bin/net_monitor
index dcbb03c..3d1ee56 100755
--- a/bin/net_monitor
+++ b/bin/net_monitor
@@ -433,7 +433,7 @@ sub update() {
$monitor->{$intf}{totalr} = 0;
$monitor->{$intf}{totalt} = 0;
$darea->{$intf} = Gtk3::DrawingArea->new;
- $darea->{$intf}->set_events(["pointer_motion_mask"]);
+ $darea->{$intf}->set_events(${ Gtk3::Gdk::EventMask->new("pointer_motion_mask") });
$notebook->append_page(gtkshow(my $page = gtknew('VBox', children => [
0, gtknew('HBox', border_width => 5, children_tight => [
gtksize($darea->{$intf}, $width, $height) ]),