Create gio settings only once

This commit is contained in:
Rafostar
2020-11-04 15:05:16 +01:00
parent 8296f40382
commit de7a850cc2
6 changed files with 39 additions and 31 deletions

5
clapper_src/shared.js Normal file
View File

@@ -0,0 +1,5 @@
const { Gio } = imports.gi;
var settings = new Gio.Settings({
schema_id: 'com.github.rafostar.Clapper'
});