aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2010-05-21 13:55:41 +0300
committerClaudio Saavedra <csaavedra@igalia.com>2010-05-21 14:01:14 +0300
commit40d712d9446feefd0839e84333c715d8ad3568f0 (patch)
tree3d9f1aed78f2d5fd650758175fa15bfb7f709dbf
parentc2f22176f788eea4d8a5f0417a12d58fb9187611 (diff)
Use gdk_threads_add_idle for the idle live search refiltering
-rw-r--r--hildon/hildon-live-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c
index 11d50f1..7e4e861 100644
--- a/hildon/hildon-live-search.c
+++ b/hildon/hildon-live-search.c
@@ -437,7 +437,7 @@ on_entry_changed (GtkEntry *entry,
priv->prefix = g_strdup (text);
if (priv->idle_filter_id == 0) {
- priv->idle_filter_id = g_idle_add ((GSourceFunc) on_idle_refilter, livesearch);
+ priv->idle_filter_id = gdk_threads_add_idle ((GSourceFunc) on_idle_refilter, livesearch);
}
/* Show the livesearch only if there is text in it */