[gtk/wip/matthiasc/icon-theme: 2/12] testicontheme: Remove useless function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/icon-theme: 2/12] testicontheme: Remove useless function
- Date: Fri, 18 Oct 2019 13:59:07 +0000 (UTC)
commit dbbb7eef15f7c23aed3cb828c5bcec221c0faee6
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 17 16:21:45 2019 -0500
testicontheme: Remove useless function
Contexts in icon themes are not useful for anything,
so drop this function from testicontheme.
tests/testicontheme.c | 12 ------------
1 file changed, 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"
);
}
@@ -174,16 +172,6 @@ main (int argc, char *argv[])
list = gtk_icon_theme_list_icons (icon_theme,
context);
- while (list)
- {
- g_print ("%s\n", (char *)list->data);
- 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]