summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:41:44 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:43 +0100
commit5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb (patch)
tree537d35e8116a50dd3304f3eeb7901acc3a1199ea /bin
parent009fa4b5e8e209295de55866a89d3063b68af68d (diff)
downloaddrakx-net-5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb.tar
drakx-net-5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb.tar.gz
drakx-net-5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb.tar.bz2
drakx-net-5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb.tar.xz
drakx-net-5e9739d85686ec8b4fcba8175ea5e1e9ed1498fb.zip
perlish ->window => ->get_window
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 96a6322..dcbb03c 100755
--- a/bin/net_monitor
+++ b/bin/net_monitor
@@ -469,7 +469,7 @@ sub update() {
gtknew('Label', text => $intf));
$monitor->{$intf}{page} = $notebook->page_num($page);
$darea->{$intf}->realize;
- $pixmap->{$intf} = Gtk3::Gdk::Pixmap->new($darea->{$intf}->get_window, $width, $height, $darea->{$intf}->window->get_depth);
+ $pixmap->{$intf} = Gtk3::Gdk::Pixmap->new($darea->{$intf}->get_window, $width, $height, $darea->{$intf}->get_window->get_depth);
$monitor->{$intf}{referencer} = $monitor->{$intf}{val}[0];
$monitor->{$intf}{referencet} = $monitor->{$intf}{val}[8];
$pixmap->{$intf}->draw_rectangle($darea->{$intf}->get_style->black_gc, 1, 0, 0, $width, $height);