BookmarkFile.setModified

void setModified(string uri, long modified)

Sets the last time the bookmark for uri was last modified.

If no bookmark for uri is found then it is created.

The "modified" time should only be set when the bookmark's meta-data was actually changed. Every function of #GBookmarkFile that modifies a bookmark also changes the modification time, except for [glib.bookmark_file.BookmarkFile.setVisitedDateTime].

Parameters

uria valid URI
modifieda timestamp or -1 to use the current time

Deprecated

Use [glib.bookmark_file.BookmarkFile.setModifiedDateTime] instead, as

time_t is deprecated due to the year 2038 problem.