Skip to content

Commit 8a623c2

Browse files
committed
require Gtk and Gdk version 3.0 in asyncpk1.py
1 parent ab02e60 commit 8a623c2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

asyncpk1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
import dbus
2323
from functools import reduce
2424
try:
25+
gi.require_version('Gdk', '3.0')
2526
from gi.repository import Gdk
27+
gi.require_version('Gtk', '3.0')
2628
from gi.repository import Gtk
2729
except:
2830
pass

0 commit comments

Comments
 (0)