js: Use Gjs GTypeName computation for all classes

As per previous commit we can remove the explicit GTypeName definitions
and use gjs auto computation for all the GObject registered classes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/790
This commit is contained in:
Marco Trevisan (Treviño)
2019-10-28 19:35:33 +01:00
committed by Florian Müllner
parent 91707f4f82
commit 39e6fc9e9d
26 changed files with 34 additions and 73 deletions

View File

@ -44,7 +44,6 @@ function _setLabelsForMessage(content, message) {
/* -------------------------------------------------------- */
var ListItem = GObject.registerClass({
GTypeName: 'ShellMountOperation_ListItem',
Signals: { 'activate': {} }
}, class ListItem extends St.Button {
_init(app) {