summaryrefslogtreecommitdiff
path: root/bus/desktop-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'bus/desktop-file.h')
-rw-r--r--bus/desktop-file.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bus/desktop-file.h b/bus/desktop-file.h
index 4934ea65..d498b1bf 100644
--- a/bus/desktop-file.h
+++ b/bus/desktop-file.h
@@ -26,10 +26,14 @@
#include <dbus/dbus.h>
#include <dbus/dbus-string.h>
+#define BUS_DESKTOP_PARSE_ERROR_INVALID_SYNTAX "org.freedesktop.DBus.DesktopParseError.InvalidSyntax"
+#define BUS_DESKTOP_PARSE_ERROR_INVALID_ESCAPES "org.freedesktop.DBus.DesktopParseError.InvalidEscapes"
+#define BUS_DESKTOP_PARSE_ERROR_INVALID_CHARS "org.freedesktop.DBus.DesktopParseError.InvalidChars"
+
typedef struct BusDesktopFile BusDesktopFile;
BusDesktopFile *bus_desktop_file_load (DBusString *filename,
- DBusResultCode *result);
+ DBusError *error);
void bus_desktop_file_free (BusDesktopFile *file);
dbus_bool_t bus_desktop_file_get_raw (BusDesktopFile *desktop_file,