[gnome-keysign: 7/65] bluetoothoffer: avoid gtk warning when executed directly
- From: Gitlab System User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keysign: 7/65] bluetoothoffer: avoid gtk warning when executed directly
- Date: Tue, 3 Oct 2017 11:37:29 +0000 (UTC)
commit b04c0495b9291f1801b85d98235d24c147322b85
Author: RyuzakiKK <aasonykk gmail com>
Date: Mon Aug 7 19:16:45 2017 +0200
bluetoothoffer: avoid gtk warning when executed directly
keysign/bluetoothoffer.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/keysign/bluetoothoffer.py b/keysign/bluetoothoffer.py
index 05967ac..c146d09 100644
--- a/keysign/bluetoothoffer.py
+++ b/keysign/bluetoothoffer.py
@@ -3,6 +3,8 @@ from bluetooth import *
import dbus
import select
if __name__ == "__main__":
+ import gi
+ gi.require_version('Gtk', '3.0')
from twisted.internet import gtk3reactor
gtk3reactor.install()
from twisted.internet import reactor
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]