From a36a57bea9eb058a60ff7e48d89f846a6898ea20 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sun, 28 Feb 2021 07:45:43 -0800 Subject: [PATCH] Remove unused function find_pixmap_file() --- src/support.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/support.c b/src/support.c index cf9eb05b..7077d17e 100644 --- a/src/support.c +++ b/src/support.c @@ -99,23 +99,3 @@ add_pixmap_directory (const gchar *directory) gtk_icon_theme_append_search_path (icon_theme, g_strdup(directory)); } - -/* This is an internally used function to find pixmap files. */ -static gchar* -find_pixmap_file (const gchar *filename) -{ - GList *elem; - - /* We step through each of the pixmaps directory to find it. */ - elem = pixmaps_directories; - while (elem) - { - gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data, - G_DIR_SEPARATOR_S, filename); - if (g_file_test (pathname, G_FILE_TEST_EXISTS)) - return pathname; - g_free (pathname); - elem = elem->next; - } - return NULL; -}