From 367f8783da0f4fdd68e9dfd52a099cefb61d97b6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 3 Feb 2021 13:54:54 +0100 Subject: pluma: Do not build the path to the icons folder --- pluma/pluma.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pluma/pluma.c b/pluma/pluma.c index 9988b557..0d51f90e 100644 --- a/pluma/pluma.c +++ b/pluma/pluma.c @@ -507,8 +507,6 @@ main (int argc, char *argv[]) gboolean restored = FALSE; GError *error = NULL; gchar *dir; - gchar *icon_dir; - /* Setup debugging */ pluma_debug_init (); @@ -585,16 +583,8 @@ main (int argc, char *argv[]) } pluma_debug_message (DEBUG_APP, "Set icon"); - - dir = pluma_dirs_get_pluma_data_dir (); - icon_dir = g_build_filename (dir, - "icons", - NULL); - g_free (dir); - gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), - icon_dir); - g_free (icon_dir); + PLUMA_DATADIR "/icons"); /* Set the associated .desktop file */ egg_set_desktop_file (DATADIR "/applications/pluma.desktop"); -- cgit v1.2.1