summaryrefslogtreecommitdiffstats
path: root/bin/draknetprofile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:41:34 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:42 +0100
commitd81e88a8ecd9d312cb689092f2aadb5ed1a0a75b (patch)
tree6416a82f4b42d9429119e35a3664b01a15fe653d /bin/draknetprofile
parentfdf3f3b2a3a9360a42b62a39435b73da1244c03f (diff)
downloaddrakx-net-d81e88a8ecd9d312cb689092f2aadb5ed1a0a75b.tar
drakx-net-d81e88a8ecd9d312cb689092f2aadb5ed1a0a75b.tar.gz
drakx-net-d81e88a8ecd9d312cb689092f2aadb5ed1a0a75b.tar.bz2
drakx-net-d81e88a8ecd9d312cb689092f2aadb5ed1a0a75b.tar.xz
drakx-net-d81e88a8ecd9d312cb689092f2aadb5ed1a0a75b.zip
perlish ->window => ->get_window
Diffstat (limited to 'bin/draknetprofile')
-rwxr-xr-xbin/draknetprofile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/draknetprofile b/bin/draknetprofile
index 65faa7f..5a76b9d 100755
--- a/bin/draknetprofile
+++ b/bin/draknetprofile
@@ -137,7 +137,7 @@ sub set_selected_profile() {
sub set_profile {
my ($profile) = @_;
- gtkset_mousecursor_wait($w->{window}->window);
+ gtkset_mousecursor_wait($w->{window}->get_window);
$profiles_list->set_sensitive(0);
$_->set_sensitive(0) foreach values %buttons;
gtkflush();
@@ -147,7 +147,7 @@ sub set_profile {
}
$SIG{CHLD} = sub {
$SIG{CHLD} = 'IGNORE';
- gtkset_mousecursor_normal($w->{window}->window);
+ gtkset_mousecursor_normal($w->{window}->get_window);
update_profiles();
$_->set_sensitive(1) foreach values %buttons;
$profiles_list->set_sensitive(1);