[gtk+] check-icon-theme: Print the name of the icon-theme
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] check-icon-theme: Print the name of the icon-theme
- Date: Sun, 21 Sep 2014 20:35:42 +0000 (UTC)
commit b5a390058834a2100eb48d55be7b5828f3da9b6b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 21 16:29:48 2014 -0400
check-icon-theme: Print the name of the icon-theme
testsuite/gtk/check-icon-names.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/check-icon-names.c b/testsuite/gtk/check-icon-names.c
index 158ffd2..3916c81 100644
--- a/testsuite/gtk/check-icon-names.c
+++ b/testsuite/gtk/check-icon-names.c
@@ -164,9 +164,14 @@ main (int argc, char *argv[])
{
guint i;
char *test_name;
+ char *theme;
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++)
{
test_name = g_strdup_printf ("/check-icon-names/%s", icon_names[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]