Skip to content

Commit

Permalink
Fix Gtk version definition
Browse files Browse the repository at this point in the history
It must be declared before the actual import, otherwise wrong version imported.
  • Loading branch information
City-busz committed May 23, 2021
1 parent 28c56b7 commit 72308e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
import gi
import sys

from gi.repository import Gtk, Gio, GLib
from .window import GabtagWindow

gi.require_version('Gtk', '3.0')

from gi.repository import Gtk, Gio, GLib # noqa: E402
from .window import GabtagWindow


class Application(Gtk.Application):
def __init__(self):
Expand Down

0 comments on commit 72308e3

Please sign in to comment.