diff options
author | Javier Jardón <javierjc1982@gmail.com> | 2009-05-04 07:58:13 +0200 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2009-09-21 21:27:01 -0500 |
commit | acdfd55f01c23ce5414737032699632c877e9a01 (patch) | |
tree | 6d0fba5ac94ae297d1d0b5cba4ccb9281a049974 | |
parent | 98f33b9f3d77891fa00489e7e5e2fb7de7a73d5d (diff) | |
download | yelp-acdfd55f01c23ce5414737032699632c877e9a01.tar.gz |
Use g_timeout_add_seconds to reduce wakeups (closes:GnomeBug #581260)
* src/yelp-html.cpp
(yelp_html_close)
-rw-r--r-- | 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 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 } |