shellDBus: Ignore extension properties that we don't care about
This commit is contained in:
parent
65dec2b72a
commit
97e7ea0b5d
@ -171,14 +171,14 @@ GnomeShell.prototype = {
|
||||
let val = meta[key];
|
||||
let type;
|
||||
switch (typeof val) {
|
||||
case 'object':
|
||||
throw Error('Extension had a nested object in the metadata. This is not supported');
|
||||
case 'string':
|
||||
type = 's';
|
||||
break;
|
||||
case 'number':
|
||||
type = 'd';
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
out[key] = GLib.Variant.new(type, val);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user