desktop-shell: don't segfault on invalid icon path
authorPhilipp Brüschweiler <blei42@gmail.com>
Wed, 29 Aug 2012 08:53:36 +0000 (10:53 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Aug 2012 19:31:25 +0000 (15:31 -0400)
commit467668c9a47b2bbe6d927e9679dafca61ffb324b
tree4f8e231d66daf773673ca6eee9a21bc4376fdc1a
parent16d59d7780a57087d61de071dfdf301291667acb
desktop-shell: don't segfault on invalid icon path

Instead draw a fallback icon and proceed as normal.

https://bugs.freedesktop.org/show_bug.cgi?id=53860

v2: coding style fixes
v3: memory leak, draw icon instead of relying on external files
clients/desktop-shell.c