aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-10-13 19:47:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-10-13 19:47:48 +0800
commit0ab84cc3ffe6129ae40ad436eb62fccbd52b00ad (patch)
treee3b4078a2ee06cd777a50399771a2fca7263898d /libempathy-gtk/empathy-chat.c
parentb4b1a54e84d210404ebc0f6c3e80622bc277ebc0 (diff)
downloadgsoc2013-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-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index c98cc12df..f68a82826 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1029,8 +1029,8 @@ chat_composing_start (EmpathyChat *chat)
TP_CHANNEL_CHAT_STATE_COMPOSING);
}
- priv->composing_stop_timeout_id = g_timeout_add (
- 1000 * COMPOSING_STOP_TIMEOUT,
+ priv->composing_stop_timeout_id = g_timeout_add_seconds (
+ COMPOSING_STOP_TIMEOUT,
(GSourceFunc) chat_composing_stop_timeout_cb,
chat);
}