[gnome-builder] rust-langserv: fix issue with pygobject base classes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rust-langserv: fix issue with pygobject base classes
- Date: Fri, 28 Oct 2016 05:34:26 +0000 (UTC)
commit ef6e6fde9039bbdfe388c8e2cb79dd822546e3f1
Author: Christian Hergert <chergert redhat com>
Date: Thu Oct 27 22:34:11 2016 -0700
rust-langserv: fix issue with pygobject base classes
We can't specify which base class item we need, and they have to be there
for Vala beacuse reasons...
plugins/rust-langserv/rust_langserv_plugin.py | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/plugins/rust-langserv/rust_langserv_plugin.py b/plugins/rust-langserv/rust_langserv_plugin.py
index d8e502e..72a4714 100644
--- a/plugins/rust-langserv/rust_langserv_plugin.py
+++ b/plugins/rust-langserv/rust_langserv_plugin.py
@@ -138,18 +138,22 @@ class RustService(Ide.Object, Ide.Service):
self.bind_property('client', provider, 'client', GObject.BindingFlags.DEFAULT)
class RustDiagnosticProvider(Ide.LangservDiagnosticProvider):
- def do_set_context(self, context):
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
RustService.bind_client(self)
class RustCompletionProvider(Ide.LangservCompletionProvider):
- def do_set_context(self, context):
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
RustService.bind_client(self)
class RustRenameProvider(Ide.LangservRenameProvider):
- def do_set_context(self, context):
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
RustService.bind_client(self)
class RustSymbolResolver(Ide.LangservSymbolResolver):
- def do_set_context(self, context):
+ def __init__(self, *args, **kwargs):
+ super().__init__(*args, **kwargs)
RustService.bind_client(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]