diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-21 09:12:27 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-21 09:12:27 +0000 |
commit | 1f15209ddcf907f57eec2a168418a0a70727150a (patch) | |
tree | 9437b4b7d5ae28515eb2262fafa47c37be8da049 /src/passphrase.c | |
parent | ee1788593bb8f61ce3e189e4942211e6d659bd47 (diff) |
changed deprecated gtk_timeout_add() to g_timeout_add(_full)(). Use G_PRIORITY_LOW for long timeout interval.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2764 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/passphrase.c')
-rw-r--r-- | src/passphrase.c | 3 |
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"); |