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:

committed by
Florian Müllner

parent
91707f4f82
commit
39e6fc9e9d
@ -1451,7 +1451,6 @@ class FolderView extends BaseAppView {
|
||||
});
|
||||
|
||||
var FolderIcon = GObject.registerClass({
|
||||
GTypeName: 'AppDisplay_FolderIcon',
|
||||
Signals: {
|
||||
'apps-changed': {},
|
||||
'name-changed': {},
|
||||
@ -1875,7 +1874,6 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu {
|
||||
Signals.addSignalMethods(RenameFolderMenu.prototype);
|
||||
|
||||
var AppFolderPopup = GObject.registerClass({
|
||||
GTypeName: 'AppDisplay_AppFolderPopup',
|
||||
Signals: {
|
||||
'open-state-changed': { param_types: [GObject.TYPE_BOOLEAN] },
|
||||
}
|
||||
@ -2047,7 +2045,6 @@ var AppFolderPopup = GObject.registerClass({
|
||||
});
|
||||
|
||||
var AppIcon = GObject.registerClass({
|
||||
GTypeName: 'AppDisplay_AppIcon',
|
||||
Signals: {
|
||||
'menu-state-changed': { param_types: [GObject.TYPE_BOOLEAN] },
|
||||
'sync-tooltip': {},
|
||||
|
Reference in New Issue
Block a user