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 24, 2021
1 parent 28c56b7 commit 92c414e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
import gi
import sys

gi.require_version('Gtk', '3.0') # noqa: E402

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

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


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

0 comments on commit 92c414e

Please sign in to comment.