Allow a single gradient per bg/state

This commit is contained in:
o9000
2017-02-19 19:33:45 +01:00
parent 15150fb577
commit 207129447d
7 changed files with 18 additions and 38 deletions

View File

@@ -156,10 +156,7 @@ void cleanup_panel()
free_area(&panel_config.area);
if (backgrounds) {
for (guint i = 0; i < backgrounds->len; i++)
cleanup_background(&g_array_index(backgrounds, Background, i));
}
g_array_free(backgrounds, TRUE);
backgrounds = NULL;
if (gradients) {
for (guint i = 0; i < gradients->len; i++)