[Reportbug-commits] [reportbug] 20/22: gtk2_ui: stop using pygtkcompat

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 15 00:43:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit 44ed2e9ceb434fa42f9df7da2c024647c6be7dad
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Dec 14 16:32:11 2016 +0000

    gtk2_ui: stop using pygtkcompat
---
 reportbug/ui/gtk2_ui.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 88eecf4..2829cf0 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -25,15 +25,6 @@ from reportbug.exceptions import UINotImportable
 try:
     import gi
 
-    # use a PyGTK compatibility layer
-    # https://wiki.gnome.org/Projects/PyGObject/IntrospectionPorting
-    from gi import pygtkcompat
-
-    pygtkcompat.enable()
-    pygtkcompat.enable_gtk(version='3.0')
-
-    import gtk
-
     gi.require_version('GLib', '2.0')
     from gi.repository import GLib
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list