diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-10-13 19:47:48 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-10-13 19:47:48 +0800 |
commit | 0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad (patch) | |
tree | e3b4078a2ee06cd777a50399771a2fca7263898d /libempathy | |
parent | b4b1a54e84d210404ebc0f6c3e80622bc277ebc0 (diff) | |
download | gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar.gz gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar.bz2 gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar.lz gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar.xz gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.tar.zst gsoc2013-empathy-0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad.zip |
Use g_timeout_add_seconds when appropriated to avoid weaking the process
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.
svn path=/trunk/; revision=370
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-idle.c | 6 |
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 |