aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-idle.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-10-13 19:47:48 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-10-13 19:47:48 +0800
commit72e5841e61bbbe883e407bf8d16868d99ab847cb (patch)
treee3b4078a2ee06cd777a50399771a2fca7263898d /libempathy/empathy-idle.c
parent7fe39120a7aeef04f41105eee5173cd10b423474 (diff)
downloadgsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar.gz
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar.bz2
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar.lz
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar.xz
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.tar.zst
gsoc2013-empathy-72e5841e61bbbe883e407bf8d16868d99ab847cb.zip
2007-10-13 Xavier Claessens <xclaesse@gmail.com>
* 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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@370 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-idle.c')
-rw-r--r--libempathy/empathy-idle.c6
1 files changed, 3 insertions, 3 deletions
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