From acdfd55f01c23ce5414737032699632c877e9a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 4 May 2009 07:58:13 +0200 Subject: Use g_timeout_add_seconds to reduce wakeups (closes:GnomeBug #581260) * src/yelp-html.cpp (yelp_html_close) --- src/yelp-html.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yelp-html.cpp b/src/yelp-html.cpp index e0e2e6a8..edd87888 100644 --- a/src/yelp-html.cpp +++ b/src/yelp-html.cpp @@ -424,9 +424,9 @@ yelp_html_close (YelpHtml *html) #ifdef HAVE_GECKO_1_9 html_reset_accessible_parent (GTK_WIDGET (html)); #else - html->priv->timeout = g_timeout_add (2000, - (GSourceFunc) timeout_update_gok, - html); + html->priv->timeout = g_timeout_add_seconds (2, + (GSourceFunc) timeout_update_gok, + html); #endif } -- cgit v1.2.1