[gnome-builder] todo plugin: ensure Ide version



commit 193b2ad8d81b57f338794b23ccc8276a9f6f6e6c
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Fri Dec 25 19:45:38 2015 +0100

    todo plugin: ensure Ide version

 plugins/todo/todo_plugin/__init__.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/todo/todo_plugin/__init__.py b/plugins/todo/todo_plugin/__init__.py
index f03659c..2d890af 100644
--- a/plugins/todo/todo_plugin/__init__.py
+++ b/plugins/todo/todo_plugin/__init__.py
@@ -18,6 +18,9 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
+import gi
+
+gi.require_version('Ide', '1.0')
 
 from gi.repository import Ide
 from gi.repository import Gio


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