Allow launcher entries without a full path (issue #565)

This commit is contained in:
o9000
2016-03-01 21:27:43 +01:00
parent 50e6278327
commit 3b5ecb631d
2 changed files with 37 additions and 18 deletions

View File

@@ -25,7 +25,7 @@ int parse_dektop_line(char *line, char **key, char **value);
// Reads the .desktop file from the given path into the DesktopEntry entry.
// The DesktopEntry object must be initially empty.
// Returns 1 if successful.
int read_desktop_file(const char *path, DesktopEntry *entry);
gboolean read_desktop_file(const char *path, DesktopEntry *entry);
// Empties DesktopEntry: releases the memory of the *members* of entry.
void free_desktop_entry(DesktopEntry *entry);