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 | |
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)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ - include strings from mgaapplet-update-checker & mgaapplet-upgrade-helper - restore old translations +- fix some gtk2 -> gtk3 migration fallouts (mga#12527) Version 3.9 - 25 January 2014, Colin Guthrie 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) }; |