1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: mhsabbagh <email@mhsabbah.com>
Date: Thu, 19 Jan 2023 12:32:59 -0500
Subject: Explicitly require Gtk 3.0
https://launchpad.net/bugs/2002865
---
othman/gtkUi.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/othman/gtkUi.py b/othman/gtkUi.py
index f27358e..b99f233 100644
--- a/othman/gtkUi.py
+++ b/othman/gtkUi.py
@@ -20,6 +20,8 @@ Copyright © 2008-2010, Muayyad Alsadi <alsadi@ojuba.org>
"""
import sys, os, os.path, time
import gettext
+import gi
+gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GLib, Pango, GdkPixbuf
from .core import othmanCore, searchIndexer
|