From 1f15209ddcf907f57eec2a168418a0a70727150a Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 21 Dec 2010 09:12:27 +0000 Subject: 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 --- src/rpop3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rpop3.c') 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); } } -- cgit v1.2.3