[gnome-builder: 112/139] python-gi-imports: port to updated libide
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder: 112/139] python-gi-imports: port to updated libide
- Date: Thu, 10 Jan 2019 04:26:44 +0000 (UTC)
commit 5633cb3c564a5a439d62aeeb4f4db3b210027580
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 9 17:34:24 2019 -0800
python-gi-imports: port to updated libide
src/plugins/python-gi-imports-completion/meson.build | 6 +-----
.../python-gi-imports-completion.plugin | 11 ++++++-----
.../python_gi_imports_completion.py | 5 -----
3 files changed, 7 insertions(+), 15 deletions(-)
---
diff --git a/src/plugins/python-gi-imports-completion/meson.build
b/src/plugins/python-gi-imports-completion/meson.build
index 23d0ab98d..312e6cc55 100644
--- a/src/plugins/python-gi-imports-completion/meson.build
+++ b/src/plugins/python-gi-imports-completion/meson.build
@@ -1,13 +1,9 @@
-if get_option('with_python_gi_imports_completion')
-
install_data('python_gi_imports_completion.py', install_dir: plugindir)
configure_file(
input: 'python-gi-imports-completion.plugin',
output: 'python-gi-imports-completion.plugin',
- copy: true,
+ configuration: config_h,
install: true,
install_dir: plugindir,
)
-
-endif
diff --git a/src/plugins/python-gi-imports-completion/python-gi-imports-completion.plugin
b/src/plugins/python-gi-imports-completion/python-gi-imports-completion.plugin
index 340fb2216..0b83c5219 100644
--- a/src/plugins/python-gi-imports-completion/python-gi-imports-completion.plugin
+++ b/src/plugins/python-gi-imports-completion/python-gi-imports-completion.plugin
@@ -1,9 +1,10 @@
[Plugin]
-Module=python_gi_imports_completion
-Loader=python3
-Name=Python GObject Introspection Imports Auto-Completion
-Description=Provides autocompletion for importing GObject Introspection enabled Libraries in Python.
Authors=Christian Hergert <christian hergert me>
-Copyright=Copyright © 2015 Christian Hergert
Builtin=true
+Copyright=Copyright © 2015 Christian Hergert
+Description=Provides autocompletion for importing GObject Introspection enabled Libraries in Python.
+Loader=python3
+Module=python_gi_imports_completion
+Name=Python GObject Introspection Imports Auto-Completion
+X-Builder-ABI=@PACKAGE_ABI@
X-Completion-Provider-Languages=python,python3
diff --git a/src/plugins/python-gi-imports-completion/python_gi_imports_completion.py
b/src/plugins/python-gi-imports-completion/python_gi_imports_completion.py
index e796dd9d9..bd0139174 100644
--- a/src/plugins/python-gi-imports-completion/python_gi_imports_completion.py
+++ b/src/plugins/python-gi-imports-completion/python_gi_imports_completion.py
@@ -23,11 +23,6 @@
import gi
import os
-gi.require_version('Gtk', '3.0')
-gi.require_version('GtkSource', '4')
-gi.require_version('GIRepository', '2.0')
-gi.require_version('Ide', '1.0')
-
from gi.repository import GIRepository
from gi.repository import Gio
from gi.repository import GLib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]