From 3f779190b32f24af1b5a53143d97a72469701a2a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 2 Apr 2022 12:33:30 -0700 Subject: [PATCH] GTK plugin: remove unused 'add_pixmap_directory' --- plugin/gtk/support.c | 10 ---------- plugin/gtk/support.h | 4 ---- 2 files changed, 14 deletions(-) diff --git a/plugin/gtk/support.c b/plugin/gtk/support.c index b4e2f1286..0c8ba6e14 100644 --- a/plugin/gtk/support.c +++ b/plugin/gtk/support.c @@ -39,13 +39,3 @@ lookup_widget (GtkWidget *widget, g_warning ("Widget not found: %s", widget_name); return found_widget; } - -static GList *pixmaps_directories = NULL; - -/* Use this function to set the directory containing installed pixmaps. */ -void -add_pixmap_directory (const gchar *directory) -{ - pixmaps_directories = g_list_prepend (pixmaps_directories, - g_strdup (directory)); -} diff --git a/plugin/gtk/support.h b/plugin/gtk/support.h index 2029476d9..dd8e843a2 100644 --- a/plugin/gtk/support.h +++ b/plugin/gtk/support.h @@ -43,7 +43,3 @@ */ GtkWidget* lookup_widget (GtkWidget *widget, const gchar *widget_name); - - -/* Use this function to set the directory containing installed pixmaps. */ -void add_pixmap_directory (const gchar *directory); -- 2.40.0