summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");