main: include toplevel-icon support in --version output

This commit is contained in:
Daniel Eklöf 2024-09-13 08:45:54 +02:00
parent f5caa2d265
commit c6208a98c8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 24 additions and 8 deletions

View file

@ -37,3 +37,12 @@ static inline bool feature_graphemes(void)
return false;
#endif
}
static inline bool feature_xdg_toplevel_icon(void)
{
#if defined(HAVE_XDG_TOPLEVEL_ICON)
return true;
#else
return false;
#endif
}