diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-02-18 12:52:46 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-02-18 12:52:46 +0100 |
commit | efe8a90877a031270375c1f2c0f1823560d85100 (patch) | |
tree | 5699717252b1953eecc8136a445a8462a9baae40 /src/simple-scan.vala | |
parent | d73ea357d7d4b8aa07d82bd8ca59f12cf2d45aa6 (diff) |
New upstream version 3.38.2upstream/3.38.2
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r-- | src/simple-scan.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala index 3f495e5..84d8a8c 100644 --- a/src/simple-scan.vala +++ b/src/simple-scan.vala @@ -1773,7 +1773,7 @@ public class SimpleScan : Gtk.Application * but will not work on KDE, LXDE, XFCE, ... */ inhibit_cookie = inhibit (app, Gtk.ApplicationInhibitFlags.IDLE, reason); - if (!is_inhibited (Gtk.ApplicationInhibitFlags.IDLE)) + if (inhibit_cookie == 0) { /* If the previous method didn't work, try the one * provided by Freedesktop. It should work with KDE, |