diff options
author | 2019-04-20 18:52:03 +0100 | |
---|---|---|
committer | 2019-04-20 16:41:02 -0400 | |
commit | 20762ecb3c34493a6de637d37234d738467f69a9 (patch) | |
tree | 28b92fbcf8f9a24ecd76cb61aeae059973a68e3c /swaybar/tray/item.c | |
parent | swaynag: revamp type configs (diff) | |
download | sway-20762ecb3c34493a6de637d37234d738467f69a9.tar.gz sway-20762ecb3c34493a6de637d37234d738467f69a9.tar.zst sway-20762ecb3c34493a6de637d37234d738467f69a9.zip |
Validate icon_struct in read_theme_file
The read_theme_file function used to return an invalid icon_struct in
some cases, for example when an empty index.theme file was read.
This makes sure the struct we're returning is always valid as per the
Icon Theme specification.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'swaybar/tray/item.c')
0 files changed, 0 insertions, 0 deletions