From 4d60d4da57d6cf4ca1a77bf75ff7eeee7c820999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis-Philippe=20V=C3=A9ronneau?= Date: Sat, 24 Oct 2020 19:44:22 -0400 Subject: [PATCH] Fix GI import warning --- sublime_music/adapters/adapter_base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sublime_music/adapters/adapter_base.py b/sublime_music/adapters/adapter_base.py index 4bea09a..342a116 100644 --- a/sublime_music/adapters/adapter_base.py +++ b/sublime_music/adapters/adapter_base.py @@ -2,6 +2,7 @@ import abc import copy import hashlib import uuid +import gi from dataclasses import dataclass from datetime import timedelta from enum import Enum @@ -18,6 +19,7 @@ from typing import ( Tuple, ) +gi.require_version('Gtk', '3.0') from gi.repository import Gtk try: