mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
testicontheme: Remove useless function
Contexts in icon themes are not useful for anything, so drop this function from testicontheme.
This commit is contained in:
parent
233d096261
commit
dbbb7eef15
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user