summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-03 13:54:54 +0100
committerraveit65 <[email protected]>2021-02-25 08:10:37 +0100
commit367f8783da0f4fdd68e9dfd52a099cefb61d97b6 (patch)
treeef2a7e8a517af04340d871e4b8473ba3c4692e7a
parent09179d9d1d686db03701c843172c43c5425afdda (diff)
downloadpluma-367f8783da0f4fdd68e9dfd52a099cefb61d97b6.tar.bz2
pluma-367f8783da0f4fdd68e9dfd52a099cefb61d97b6.tar.xz
pluma: Do not build the path to the icons folder
-rw-r--r--pluma/pluma.c12
1 files changed, 1 insertions, 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");