GBookmarkFile API involves time_t
As noted on #1930 (closed), GBookmarkFile's added
, modified
and visited
timestamps all use time_t
(seconds since the epoch in an OS-defined integer type).
This is not Y2038-safe on most 32-bit platforms, unless the OS breaks its API/ABI by making time_t
64-bit, in which case GLib's API/ABI will also break.
The preferred accessors and the internal representation should use a Y2038-safe type, like GDateTime
or the g_get_real_time()
representation (64-bit microseconds since the epoch).
To avoid breaking API/ABI, the time_t
accessors need to stay, but can be deprecated.