Skip to content

Commit

Permalink
xdg-theme/test: Avoid using legacy icons in symbolic tests
Browse files Browse the repository at this point in the history
Some releases of Adwaita are missing the expected directories from the
index.theme file as a result of moving legacy pre-generated icons.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
  • Loading branch information
sardemff7 committed Mar 26, 2019
1 parent 812a3da commit 6164bac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/xdg-theme.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ static const struct {
.data = {
.type = TYPE_ICON,
.themes = { [0] = "Adwaita" },
.name = "zoom-in-symbolic",
.name = "application-certificate-symbolic",
.size = 48,
.scale = 1,
.svg = FALSE,
.result = "icons/Adwaita/48x48/actions/zoom-in-symbolic.symbolic.png",
.result = "icons/Adwaita/48x48/mimetypes/application-certificate-symbolic.symbolic.png",
.theme_test = "icons/Adwaita/index.theme",
}
},
Expand Down Expand Up @@ -335,11 +335,11 @@ static const struct {
.data = {
.type = TYPE_ICON,
.themes = { [0] = "Adwaita" },
.name = "edit-find-symbolic",
.name = "application-certificate-symbolic",
.size = 0,
.scale = 1,
.svg = FALSE,
.result = "icons/Adwaita/96x96/actions/edit-find-symbolic.symbolic.png",
.result = "icons/Adwaita/96x96/mimetypes/application-certificate-symbolic.symbolic.png",
.theme_test = "icons/Adwaita/index.theme",
}
},
Expand Down

0 comments on commit 6164bac

Please sign in to comment.