aboutsummaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index c6c7e05c..ccf6eb8a 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -84,9 +84,9 @@ setIconSearchPath ()
84 84
85 dataDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR); 85 dataDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR);
86 buf = 86 buf =
87 GNUNET_malloc (strlen (dataDir) + strlen ("../gnunet-gtk/icons/") + 2); 87 GNUNET_malloc (strlen (dataDir) + strlen ("../gnunet-gtk/") + 2);
88 strcpy (buf, dataDir); 88 strcpy (buf, dataDir);
89 strcat (buf, "../gnunet-gtk/icons/"); 89 strcat (buf, "../gnunet-gtk/");
90 gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf); 90 gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), buf);
91 GNUNET_free (buf); 91 GNUNET_free (buf);
92 GNUNET_free (dataDir); 92 GNUNET_free (dataDir);