aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */