diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-02-03 22:05:53 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-02-03 22:14:15 +0100 |
commit | 529f4024134638eccc3d7952ce39201f5519d496 (patch) | |
tree | 4397b815dffa24b531d55a4daf64e1ab7686cbe2 /mgaapplet-upgrade-helper | |
parent | 13c48af070913d3fe6ddb599d0cb24a5959b5bad (diff) | |
download | mgaonline-529f4024134638eccc3d7952ce39201f5519d496.tar mgaonline-529f4024134638eccc3d7952ce39201f5519d496.tar.gz mgaonline-529f4024134638eccc3d7952ce39201f5519d496.tar.bz2 mgaonline-529f4024134638eccc3d7952ce39201f5519d496.tar.xz mgaonline-529f4024134638eccc3d7952ce39201f5519d496.zip |
fix gtk2 to gtk3 migration: XWINDOW -> get_xid (mga#12527)
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index bcebed42..afb68e99 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -203,7 +203,7 @@ sub check_preparation() { } sub upgrade() { - my $xid = gtkroot()->XWINDOW; + my $xid = gtkroot()->get_xid; run_program::raw({ detach => 1 }, 'xdg-screensaver', 'suspend', $xid); my $_w = before_leaving { run_program::raw({ detach => 1 }, 'xdg-screensaver', 'resume', $xid) }; |