summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-02-03 22:05:53 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-02-03 22:14:15 +0100
commit529f4024134638eccc3d7952ce39201f5519d496 (patch)
tree4397b815dffa24b531d55a4daf64e1ab7686cbe2 /mgaapplet-upgrade-helper
parent13c48af070913d3fe6ddb599d0cb24a5959b5bad (diff)
downloadmgaonline-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-xmgaapplet-upgrade-helper2
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) };