summaryrefslogtreecommitdiff
path: root/libmenu/entry-directories.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmenu/entry-directories.c')
-rw-r--r--libmenu/entry-directories.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmenu/entry-directories.c b/libmenu/entry-directories.c
index 2a21807..33b68eb 100644
--- a/libmenu/entry-directories.c
+++ b/libmenu/entry-directories.c
@@ -25,10 +25,10 @@
#include <errno.h>
#include <sys/types.h>
#include <dirent.h>
+#include <stdlib.h>
#include "menu-util.h"
#include "menu-monitor.h"
-#include "canonicalize.h"
typedef struct CachedDir CachedDir;
typedef struct CachedDirMonitor CachedDirMonitor;
@@ -731,7 +731,7 @@ static EntryDirectory* entry_directory_new_full(DesktopEntryType entry_type, con
path,
is_legacy ? "<yes>" : "<no>");
- canonical = menu_canonicalize_file_name (path, FALSE);
+ canonical = realpath (path, NULL);
if (canonical == NULL)
{
menu_verbose ("Failed to canonicalize \"%s\": %s\n",