[gnome-builder] vala-pack: use same callback strategy as other async funcs



commit 2df189ed33177d93a7c50b7992bc03055b2ba846
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 26 02:45:33 2016 -0700

    vala-pack: use same callback strategy as other async funcs

 plugins/vala-pack/ide-vala-index.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-index.vala b/plugins/vala-pack/ide-vala-index.vala
index 1931d5b..a607fad 100644
--- a/plugins/vala-pack/ide-vala-index.vala
+++ b/plugins/vala-pack/ide-vala-index.vala
@@ -477,7 +477,7 @@ namespace Ide
                                        Vala.CodeContext.pop ();
                                }
 
-                               this.find_symbol_at.callback ();
+                               GLib.Idle.add (this.find_symbol_at.callback);
                        });
 
                        yield;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]