From 40d712d9446feefd0839e84333c715d8ad3568f0 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Fri, 21 May 2010 13:55:41 +0300 Subject: Use gdk_threads_add_idle for the idle live search refiltering --- hildon/hildon-live-search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3-18-g5258