gdm: Don't throw an error if there's no logo file
This commit is contained in:
parent
49c4ba5656
commit
0f63ad0fc1
@ -538,7 +538,7 @@ const LoginDialog = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_updateLogoTexture: function(cache, file) {
|
_updateLogoTexture: function(cache, file) {
|
||||||
if (!this._logoFile.equal(file))
|
if (this._logoFile && !this._logoFile.equal(file))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this._logoBin.destroy_all_children();
|
this._logoBin.destroy_all_children();
|
||||||
|
Loading…
Reference in New Issue
Block a user