aboutsummaryrefslogtreecommitdiff
path: root/src/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passphrase.c')
-rw-r--r--src/passphrase.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passphrase.c b/src/passphrase.c
index 3db5a3a3..f0630888 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -323,8 +323,7 @@ gpgmegtk_passphrase_cb(void *opaque, const char *uid_hint,
#endif
if (prefs_common.store_passphrase_timeout > 0) {
- gtk_timeout_add(prefs_common.store_passphrase_timeout*60*1000,
- free_passphrase, NULL);
+ g_timeout_add_full(G_PRIORITY_LOW, prefs_common.store_passphrase_timeout * 60 * 1000, free_passphrase, NULL, NULL);
}
}
debug_print ("%% sending passphrase\n");