check-icon-theme: Print the name of the icon-theme
This commit is contained in:
@ -164,9 +164,14 @@ main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
char *test_name;
|
char *test_name;
|
||||||
|
char *theme;
|
||||||
|
|
||||||
gtk_test_init (&argc, &argv);
|
gtk_test_init (&argc, &argv);
|
||||||
|
|
||||||
|
g_object_get (gtk_settings_get_default (), "gtk-icon-theme-name", &theme, NULL);
|
||||||
|
g_test_message ("Testing icon theme: %s", theme);
|
||||||
|
g_free (theme);
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (icon_names); i++)
|
for (i = 0; i < G_N_ELEMENTS (icon_names); i++)
|
||||||
{
|
{
|
||||||
test_name = g_strdup_printf ("/check-icon-names/%s", icon_names[i]);
|
test_name = g_strdup_printf ("/check-icon-names/%s", icon_names[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user