]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat.c
Use g_timeout_add_seconds when appropriated to avoid weaking the process
[empathy.git] / libempathy-gtk / empathy-chat.c
index c98cc12df4aa9163688ffefd68be6c6bac56aaa9..f68a828261e70037b252e11e178e8b998c80c121 100644 (file)
@@ -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);
 }