mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
theme: add theme_finish()
This commit is contained in:
parent
9f61a819fc
commit
cb2a504440
4 changed files with 23 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include "common/dir.h"
|
||||
#include "common/log.h"
|
||||
#include "common/string-helpers.h"
|
||||
#include "common/zfree.h"
|
||||
#include "theme/theme.h"
|
||||
#include "xbm/xbm.h"
|
||||
|
||||
|
|
@ -135,3 +136,14 @@ theme_init(struct theme *theme, struct wlr_renderer *renderer,
|
|||
theme_read(theme, theme_name);
|
||||
xbm_load(theme, renderer);
|
||||
}
|
||||
|
||||
void
|
||||
theme_finish(struct theme *theme)
|
||||
{
|
||||
zfree(theme->xbm_close_active_unpressed);
|
||||
zfree(theme->xbm_maximize_active_unpressed);
|
||||
zfree(theme->xbm_iconify_active_unpressed);
|
||||
zfree(theme->xbm_close_inactive_unpressed);
|
||||
zfree(theme->xbm_maximize_inactive_unpressed);
|
||||
zfree(theme->xbm_iconify_inactive_unpressed);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue