From 9c6a7673b80268d96eb007b3273b26d5422f48a1 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 8 Feb 2013 18:26:15 +0100 Subject: Add comments around g_idle_add() changes --- shell/e-shell-searchbar.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell') diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c index 2c762a31ea..107a30a692 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -1735,6 +1735,7 @@ e_shell_searchbar_load_state (EShellSearchbar *searchbar) /* Execute the search when we have time. */ g_object_ref (shell_view); searchbar->priv->state_dirty = FALSE; + /* schedule with priority higher than gtk+ uses for animations (check docs for G_PRIORITY_HIGH_IDLE) */ g_idle_add_full (G_PRIORITY_DEFAULT, idle_execute_search, shell_view, NULL); } -- cgit v1.2.3