Remove unnecessary error catching
This commit is contained in:
+1
-7
@@ -96,13 +96,7 @@ class Extension {
|
|||||||
class Themer {
|
class Themer {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
try {
|
this.gsettings = new Gio.Settings({ schema: GSETTINGS_SCHEMA });
|
||||||
this.gsettings = new Gio.Settings({ schema: GSETTINGS_SCHEMA });
|
|
||||||
}
|
|
||||||
catch(e)
|
|
||||||
{
|
|
||||||
logError('"User Themes" GNOME Shell extension must be installed')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get current() {
|
get current() {
|
||||||
|
|||||||
Reference in New Issue
Block a user