Merge pull request #110 from Mte90/patch-3

PyGIWarning: Gtk was imported without specifying a version first
This commit is contained in:
Bernd Schoolmann 2024-02-09 16:15:14 +01:00 committed by GitHub
commit 4a3e8ca819
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