mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 391534 - Prevent '<preference> with id='' and name='' has unknown type ''' warnings. r=Mano, a1.9=schrep
This commit is contained in:
parent
e767380c51
commit
38b539650e
@ -80,6 +80,11 @@
|
||||
<implementation>
|
||||
<constructor>
|
||||
<![CDATA[
|
||||
// if the element has been inserted without the name attribute set,
|
||||
// we have nothing to do here
|
||||
if (!this.name)
|
||||
return;
|
||||
|
||||
this.preferences.rootBranchInternal
|
||||
.addObserver(this.name, this.preferences, false);
|
||||
// In non-instant apply mode, we must try and use the last saved state
|
||||
|
Loading…
Reference in New Issue
Block a user