#1009744 reportbug: ocrfeeder-cli returns warning: "PyGIWarning: Gtk was imported without specifying a version first."

#1009744#5
Date:
2022-04-16 01:59:50 UTC
From:
To:
Dear Maintainer,

- `ocrfeeder-cli --help` command returned with PyGIWarning mentioned below.
- Every ocrfeeder-cli command retuns with same warning
The ERR output:
`/usr/lib/python3/dist-packages/ocrfeeder/util/lib.py:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk`

- Adding the suggested line with the necessary import line to the file lib.py solved the problem here.
```
import gi
gi.require_version('Gtk', '3.0')
```