mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 09:57:52 +02:00
gfileinfo: Add g_file_info_{get,set}_modification_date_time() APIs
These are alternatives to g_file_info_{get,set}_modification_time(), which will soon be deprecated due to using the deprecated GTimeVal type, which is not year 2038 safe. The new APIs take a GDateTime instead. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1438
This commit is contained in:
@@ -395,6 +395,7 @@ g_file_info_get_symbolic_icon
|
||||
g_file_info_get_content_type
|
||||
g_file_info_get_size
|
||||
g_file_info_get_modification_time
|
||||
g_file_info_get_modification_date_time
|
||||
g_file_info_get_symlink_target
|
||||
g_file_info_get_etag
|
||||
g_file_info_get_sort_order
|
||||
@@ -412,6 +413,7 @@ g_file_info_set_symbolic_icon
|
||||
g_file_info_set_content_type
|
||||
g_file_info_set_size
|
||||
g_file_info_set_modification_time
|
||||
g_file_info_set_modification_date_time
|
||||
g_file_info_set_symlink_target
|
||||
g_file_info_set_sort_order
|
||||
g_file_attribute_matcher_new
|
||||
|
Reference in New Issue
Block a user