PyGIWarning: Gtk was imported without specifying a version first

This commit is contained in:
Daniele Scasciafratte 2024-02-09 16:01:13 +01:00 committed by GitHub
parent f3196863bb
commit 417567f549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#Python DBUS Test Server
#runs until the Quit() method is called via DBUS
from gi import require_version
require_version('Gtk', '4.0')
require_version('Adw', '1')
from gi.repository import Gtk
import dbus
import dbus.service