summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEduard Roccatello <eduard@roccatello.it>2004-09-28 19:51:21 +0000
committerEduard Roccatello <eduard@roccatello.it>2004-09-28 19:51:21 +0000
commit36f5e44c8def1a78aaeaf04b9d1a6c538d3bdba0 (patch)
treeae4a985e7b8112c60d2ff954cd3a152dc008ab5f /src
parent045f3b10f1a9c164b0999167d7e5451be8e9a739 (diff)
downloadxfce4-appfinder-36f5e44c8def1a78aaeaf04b9d1a6c538d3bdba0.tar.gz
Fix the fix :-)
(Old svn revision: 2165)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 9c4aacf..bd76e31 100755
--- a/src/main.c
+++ b/src/main.c
@@ -511,12 +511,9 @@ build_paths (void)
entriespaths[i++] = xfce_get_homefile (".kde", "share", "apps", NULL);
entriespaths[i++] = xfce_get_homefile (".kde", "share", "applnk", NULL);
- if ((kdedir = g_strdup(g_getenv("KDEDIR"))) != NULL)
+ if ((kdedir = g_getenv("KDEDIR")) != NULL)
{
entriespaths[i++] = g_build_filename (kdedir, "share", "applications", "kde", NULL);
- printf ("%s\n", entriespaths[i - 1]);
- g_free(kdedir);
-
}
for (n = 0; n < napplications; ++n)