set_modified
Description:
[ Version ( deprecated_since = "2.66" , replacement = "set_modified_date_time" ) ]
public void set_modified (string uri, time_t modified)
public void set_modified (string uri, time_t modified)
Warning: set_modified is deprecated since 2.66. Use set_modified_date_time.
Sets the last time the bookmark for uri
was last modified.
Note:
Use set_modified_date_time instead, as `time_t` is deprecated due to the year 2038 problem.
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 BookmarkFile that modifies a bookmark also changes the modification time, except for set_visited_date_time.
Parameters:
this | |
uri |
a valid URI |
modified |
a timestamp or -1 to use the current time |