File system-config-printer-Gtk-introspect.patch of Package system-config-printer.2971
Index: system-config-printer-1.4.2/system-config-printer.py
===================================================================
--- system-config-printer-1.4.2.orig/system-config-printer.py
+++ system-config-printer-1.4.2/system-config-printer.py
@@ -27,9 +27,11 @@ import config
import sys, os, time, re
import thread
import dbus
+import gi.repository
from gi.repository import GdkPixbuf
try:
from gi.repository import Gdk
+ gi.require_version('Gtk','3.0')
from gi.repository import Gtk
Gtk.init (sys.argv)
except RuntimeError as e: