Skip to content

Commit 06973c1

Browse files
committed
osd-keyboard: Specify gi versions to get rid of warnings
1 parent 7ef9cfa commit 06973c1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scc/osd/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
import logging
77
import os
88
import traceback
9-
109
import cairo
10+
11+
import gi
12+
gi.require_version("Gtk", "3.0")
13+
gi.require_version("Gdk", "3.0")
14+
gi.require_version("GtkLayerShell", "0.1")
15+
1116
from gi.repository import Gdk, GLib, GObject, Gtk
1217

1318
from scc.config import Config

0 commit comments

Comments
 (0)