gdm: Don't throw an error if there's no logo file

This commit is contained in:
Jasper St. Pierre 2014-10-14 19:59:29 -07:00
parent 49c4ba5656
commit 0f63ad0fc1

View File

@ -538,7 +538,7 @@ const LoginDialog = new Lang.Class({
},
_updateLogoTexture: function(cache, file) {
if (!this._logoFile.equal(file))
if (this._logoFile && !this._logoFile.equal(file))
return;
this._logoBin.destroy_all_children();