From e6c0620aaca439ff80b9fe60dec825bc97f67e4f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 Aug 2009 01:17:23 +0200 Subject: desktop-file: implement _dbus_desktop_file_changed() _dbus_desktop_file_changed() can be used if the file changed since it was read. (by comparing the mtime back then and now) --- dbus/dbus-desktop-file.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dbus/dbus-desktop-file.h') diff --git a/dbus/dbus-desktop-file.h b/dbus/dbus-desktop-file.h index 27f5e53c..3c619536 100644 --- a/dbus/dbus-desktop-file.h +++ b/dbus/dbus-desktop-file.h @@ -49,4 +49,7 @@ dbus_bool_t _dbus_desktop_file_get_string (DBusDesktopFile *desktop_file, const char *_dbus_desktop_file_get_section (DBusDesktopFile *desktop_file, unsigned i); +dbus_bool_t _dbus_desktop_file_changed (DBusDesktopFile *desktop_file, + DBusString *filename); + #endif /* BUS_DESKTOP_FILE_H */ -- cgit