[gnome-builder] rust-langserv: use SYNC_CREATE when binding client



commit 0981dbc839e58a2540895b6a17e70c92922c4f99
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 28 04:20:51 2016 -0700

    rust-langserv: use SYNC_CREATE when binding client
    
    If the client is already there, we need to bind it on creation.

 plugins/rust-langserv/rust_langserv_plugin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 9b24ed6..5515341 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -136,7 +136,7 @@ class RustService(Ide.Object, Ide.Service):
         """
         context = provider.get_context()
         self = context.get_service_typed(RustService)
-        self.bind_property('client', provider, 'client', GObject.BindingFlags.DEFAULT)
+        self.bind_property('client', provider, 'client', GObject.BindingFlags.SYNC_CREATE)
 
 class RustDiagnosticProvider(Ide.LangservDiagnosticProvider):
     def do_load(self):


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