[Reportbug-commits] [reportbug] 25/31: gtk2_ui: Remove deprecated threading calls that no longer do anything

Sandro Tosi morph at moszumanska.debian.org
Mon Jan 16 01:36:58 UTC 2017


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

morph pushed a commit to branch master
in repository reportbug.

commit 4d0e180ee59602fe492ba58342c9233d4a7e7a60
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 15 00:29:24 2017 +0000

    gtk2_ui: Remove deprecated threading calls that no longer do anything
---
 reportbug/ui/gtk2_ui.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 65c0fb3..4a335bb 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -49,9 +49,6 @@ global Vte
 
 gtkspellcheck = None
 
-#gtk.set_interactive(0)
-Gdk.threads_init()
-
 import sys
 import re
 import os
@@ -535,9 +532,7 @@ class ReportbugApplication(threading.Thread):
             raise AssertionError('Could not acquire UI context')
         ui_context.push_thread_default()
 
-        Gdk.threads_enter()
         Gtk.main()
-        Gdk.threads_leave()
 
     def get_last_value(self):
         _assert_context(reportbug_context)

-- 
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