[gnome-music/wip/mschraal/glib-logging: 5/43] aboutdialog: New logger



commit 3be6156a640a3fe5d5e65ee77ccd0e53e71dfb21
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 1 14:41:45 2020 +0100

    aboutdialog: New logger

 gnomemusic/widgets/aboutdialog.py | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/gnomemusic/widgets/aboutdialog.py b/gnomemusic/widgets/aboutdialog.py
index 84630b81..ac8b20e2 100644
--- a/gnomemusic/widgets/aboutdialog.py
+++ b/gnomemusic/widgets/aboutdialog.py
@@ -24,8 +24,6 @@
 
 from gi.repository import Gtk
 
-from gnomemusic import log
-
 
 @Gtk.Template(resource_path='/org/gnome/Music/ui/AboutDialog.ui')
 class AboutDialog(Gtk.AboutDialog):
@@ -33,15 +31,10 @@ class AboutDialog(Gtk.AboutDialog):
 
     __gtype_name__ = 'AboutDialog'
 
-    def __repr__(self):
-        return '<AboutDialog>'
-
-    @log
     def __init__(self):
         super().__init__()
 
         self.connect("response", self._about_response)
 
-    @log
     def _about_response(self, klass, data=None):
         klass.destroy()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]