Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
retrixe authored and andyholmes committed Apr 9, 2024
1 parent 9cc0a53 commit 108dfed
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
9 changes: 0 additions & 9 deletions src/service/components/sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@ try {
} catch (e) {}


/*
* Used to ensure 'audible-bell' is enabled for fallback
*/
/* const WM_SETTINGS = new Gio.Settings({
schema_id: 'org.gnome.desktop.wm.preferences',
path: '/org/gnome/desktop/wm/preferences/',
}); */


const Player = class Player {

constructor() {
Expand Down
6 changes: 0 additions & 6 deletions src/service/utils/dbus.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ function toDBusCase(string) {
}).replace(/[\s_-]+/g, '');
}

/* function toHyphenCase(string) {
return string.replace(/(?:[A-Z])/g, (ltr, offset) => {
return (offset > 0) ? `-${ltr.toLowerCase()}` : ltr.toLowerCase();
}).replace(/[\s_]+/g, '');
} */

function toUnderscoreCase(string) {
return string.replace(/(?:^\w|[A-Z]|_|\b\w)/g, (ltr, offset) => {
if (ltr === '_')
Expand Down
1 change: 0 additions & 1 deletion src/utils/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import GObject from 'gi://GObject';
const SERVICE_NAME = 'org.gnome.Shell.Extensions.GSConnect';
const SERVICE_PATH = '/org/gnome/Shell/Extensions/GSConnect';
const DEVICE_NAME = 'org.gnome.Shell.Extensions.GSConnect.Device';
// const DEVICE_PATH = '/org/gnome/Shell/Extensions/GSConnect/Device';


const _PROPERTIES = {
Expand Down

0 comments on commit 108dfed

Please sign in to comment.