[Reportbug-commits] [reportbug] 27/31: gtk2_ui: Reduce deprecation spam by using a named constructor

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 f688a48e1d07ee1d1a8a5a484182549e9810851c
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 15 00:23:11 2017 +0000

    gtk2_ui: Reduce deprecation spam by using a named constructor
---
 reportbug/ui/gtk2_ui.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index ac43157..2a23d9f 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -711,8 +711,8 @@ This wizard will guide you through the bug reporting process step by step.
         label.set_justify(Gtk.Justification.FILL)
         vbox.pack_start(label, False, True, 0)
 
-        link = Gtk.LinkButton("http://alioth.debian.org/projects/reportbug",
-                              "Homepage of reportbug project")
+        link = Gtk.LinkButton.new_with_label("http://alioth.debian.org/projects/reportbug",
+                                             "Homepage of reportbug project")
         vbox.pack_start(link, False, True, 0)
         return vbox
 

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