[gnome-documents] notifications: don't use signal decorator



commit b947cc67ddd5f72431711e086b33d737c59aab59
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Feb 11 15:22:02 2017 -0800

    notifications: don't use signal decorator
    
    We don't have any signal, and these override GObject methods.

 src/notifications.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/notifications.js b/src/notifications.js
index a355365..38531a6 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -30,7 +30,6 @@ const WindowMode = imports.windowMode;
 
 const Lang = imports.lang;
 const Mainloop = imports.mainloop;
-const Signals = imports.signals;
 
 const DELETE_TIMEOUT = 10; // seconds
 
@@ -361,4 +360,3 @@ const NotificationManager = new Lang.Class({
             this.reveal_child = false;
     }
 });
-Signals.addSignalMethods(NotificationManager.prototype);


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