[ocrfeeder] Specify Gtk, GooCanvas and GtkSpell required versions



commit 44c2edcafbf428d9f2a9cd499daabdf5dc6354ac
Author: Joaquim Rocha <me joaquimrocha com>
Date:   Sat Mar 19 21:29:55 2016 +0100

    Specify Gtk, GooCanvas and GtkSpell required versions

 src/ocrfeeder/studio/studioBuilder.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ocrfeeder/studio/studioBuilder.py b/src/ocrfeeder/studio/studioBuilder.py
index 6ab2404..8e1ed01 100644
--- a/src/ocrfeeder/studio/studioBuilder.py
+++ b/src/ocrfeeder/studio/studioBuilder.py
@@ -19,6 +19,10 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ###########################################################################
 
+import gi
+gi.require_version('Gtk', '3.0')
+gi.require_version('GooCanvas', '2.0')
+gi.require_version('GtkSpell', '3.0')
 from ocrfeeder.util import lib
 from ocrfeeder.util.constants import *
 import sys


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