From 0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 13 Oct 2007 11:47:48 +0000 Subject: Use g_timeout_add_seconds when appropriated to avoid weaking the process 2007-10-13 Xavier Claessens * libempathy-gtk/empathy-main-window.c: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-contact-list-view.c: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-contact-list-store.c: * libempathy-gtk/empathy-chat-window.c: * libempathy/empathy-idle.c: * tests/contact-manager.c: Use g_timeout_add_seconds when appropriated to avoid weaking the process too much. svn path=/trunk/; revision=370 --- libempathy/empathy-idle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c index 87389277c..77e7c1ffa 100644 --- a/libempathy/empathy-idle.c +++ b/libempathy/empathy-idle.c @@ -607,9 +607,9 @@ idle_ext_away_start (EmpathyIdle *idle) priv = GET_PRIV (idle); idle_ext_away_stop (idle); - priv->ext_away_timeout = g_timeout_add (EXT_AWAY_TIME * 1000, - (GSourceFunc) idle_ext_away_cb, - idle); + priv->ext_away_timeout = g_timeout_add_seconds (EXT_AWAY_TIME, + (GSourceFunc) idle_ext_away_cb, + idle); } static void -- cgit v1.2.3