summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) };