summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS1
-rwxr-xr-xmgaapplet-upgrade-helper2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5209e213..49a2fbbb 100644
--- a/NEWS
+++ b/NEWS
@@ -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) };