[xchat-gnome] Use g_timeout_add_seconds to reduce wakeups
- From: Nickolay V. Shmyrev <nshmyrev src gnome org>
- To: svn-commits-list gnome org
- Subject: [xchat-gnome] Use g_timeout_add_seconds to reduce wakeups
- Date: Sun, 3 May 2009 14:11:55 -0400 (EDT)
commit 40b931b84791786cf7780370b7bc09509b3c60db
Author: Javier Jardón <javierjc1982 gmail com>
Date: Sun May 3 22:09:50 2009 +0400
Use g_timeout_add_seconds to reduce wakeups
closes GNOME bug #581094
---
src/fe-gnome/channel-list-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/fe-gnome/channel-list-window.c b/src/fe-gnome/channel-list-window.c
index 9f9ca68..e7e7c31 100644
--- a/src/fe-gnome/channel-list-window.c
+++ b/src/fe-gnome/channel-list-window.c
@@ -157,7 +157,7 @@ channel_list_window_refresh (ChannelListWindow *win)
* click-happy kids
*/
win->refresh_calls = 0;
- win->refresh_timeout = g_timeout_add (2000, (GSourceFunc) channel_list_window_resensitize, (gpointer) win);
+ win->refresh_timeout = g_timeout_add_seconds (2, (GSourceFunc) channel_list_window_resensitize, (gpointer) win);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]