diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-10-17 16:21:45 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-18 08:53:23 -0500 |
commit | dbbb7eef15f7c23aed3cb828c5bcec221c0faee6 (patch) | |
tree | a9f9f16fc1befa9857777f95cd198d0b872f93f6 /tests/testicontheme.c | |
parent | 233d096261f0ed133ff9918b8e63982d7f14a1da (diff) | |
download | gtk+-dbbb7eef15f7c23aed3cb828c5bcec221c0faee6.tar.gz |
testicontheme: Remove useless function
Contexts in icon themes are not useful for anything,
so drop this function from testicontheme.
Diffstat (limited to 'tests/testicontheme.c')
-rw-r--r-- | tests/testicontheme.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/testicontheme.c b/tests/testicontheme.c index 18bb84ec8b..8b3d462864 100644 --- a/tests/testicontheme.c +++ b/tests/testicontheme.c @@ -29,8 +29,6 @@ usage (void) "usage: test-icon-theme list <theme name> [context]\n" " or\n" "usage: test-icon-theme display <theme name> <icon name> [size] [scale]\n" - " or\n" - "usage: test-icon-theme contexts <theme name>\n" ); } @@ -180,16 +178,6 @@ main (int argc, char *argv[]) list = list->next; } } - else if (strcmp (argv[1], "contexts") == 0) - { - list = gtk_icon_theme_list_contexts (icon_theme); - - while (list) - { - g_print ("%s\n", (char *)list->data); - list = list->next; - } - } else if (strcmp (argv[1], "lookup") == 0) { if (argc < 4) |