mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Name our classes
In order to not end up with random names prefixed with Gjs_, give each class a proper name, so its easier to inspect and allows usage with UI files
This commit is contained in:
@@ -8,7 +8,9 @@ var ClapperState = {
|
||||
PLAYING: 3,
|
||||
};
|
||||
|
||||
var PlayerRemote = GObject.registerClass(
|
||||
var PlayerRemote = GObject.registerClass({
|
||||
GTypeName: 'ClapperPlayerRemote',
|
||||
},
|
||||
class ClapperPlayerRemote extends GObject.Object
|
||||
{
|
||||
_init()
|
||||
|
Reference in New Issue
Block a user