[gnome-builder] rust-langserv: cleanup stubs to match implementation requirements
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rust-langserv: cleanup stubs to match implementation requirements
- Date: Tue, 25 Oct 2016 22:43:27 +0000 (UTC)
commit 05e3fc1d51f55d6362a4ab6cbb5930a373008d27
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 24 16:41:55 2016 -0700
rust-langserv: cleanup stubs to match implementation requirements
plugins/rust-langserv/rust_langserv_plugin.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index 5e06ac1..5b65b7a 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -155,6 +155,7 @@ class RustSymbolResolver(Ide.LangservSymbolResolver):
"""
class RustHighlighter(Ide.LangservHighlighter):
- def do_set_context(self, context):
- RustService.bind_client(self);
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ self.connect('notify::context', lambda *_: RustService.bind_client(self))
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]