diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 7aac503ec..546079f9b 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -134,6 +134,7 @@ var FocusGrabber = class FocusGrabber { // // A notification without a policy object will inherit the default one. var NotificationPolicy = GObject.registerClass({ + GTypeFlags: GObject.TypeFlags.ABSTRACT, Properties: { 'enable': GObject.ParamSpec.boolean( 'enable', 'enable', 'enable', GObject.ParamFlags.READABLE, true), @@ -718,7 +719,7 @@ var Source = GObject.registerClass({ } _createPolicy() { - return new NotificationPolicy(); + return new NotificationGenericPolicy(); } get narrowestPrivacyScope() {