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/rpop3.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/rpop3.c')
-rw-r--r-- | src/rpop3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpop3.c b/src/rpop3.c index 001b9702..eb8e7f74 100644 --- a/src/rpop3.c +++ b/src/rpop3.c @@ -640,8 +640,9 @@ static void rpop3_idle(gboolean is_idle) rpop3_window.session->state = POP3_IDLE; if (POP3_PING_ITV < prefs_common.io_timeout_secs) rpop3_window.ping_tag = - g_timeout_add(POP3_PING_ITV * 1000, - rpop3_ping_cb, NULL); + g_timeout_add_full(G_PRIORITY_LOW, + POP3_PING_ITV * 1000, + rpop3_ping_cb, NULL, NULL); } } |