[yelp] Use g_timeout_add_seconds to reduce wakeups (closes:GnomeBug #581260)
- From: Shaun McCance <shaunm src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [yelp] Use g_timeout_add_seconds to reduce wakeups (closes:GnomeBug #581260)
- Date: Tue, 22 Sep 2009 02:27:18 +0000 (UTC)
commit acdfd55f01c23ce5414737032699632c877e9a01
Author: Javier Jardón <javierjc1982 gmail com>
Date: Mon May 4 07:58:13 2009 +0200
Use g_timeout_add_seconds to reduce wakeups (closes:GnomeBug #581260)
* src/yelp-html.cpp
(yelp_html_close)
src/yelp-html.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/yelp-html.cpp b/src/yelp-html.cpp
index e0e2e6a..edd8788 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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]