BookmarkFile.setModified

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.

More...
class BookmarkFile
void
setModified
(
string uri
,)

Parameters

uri string

a valid URI

modified long

a timestamp or -1 to use the current time

Detailed Description

Deprecated: Use glib.bookmark_file.BookmarkFile.setModifiedDateTime instead, as time_t is deprecated due to the year 2038 problem.