Method

GioFileInfoset_modification_time

Declaration

void
g_file_info_set_modification_time (
  GFileInfo* info,
  GTimeVal* mtime
)

Description

Sets the G_FILE_ATTRIBUTE_TIME_MODIFIED and G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC attributes in the file info to the given time value.

Deprecated since:2.62

Use g_file_info_set_modification_date_time() instead, as GTimeVal is deprecated due to the year 2038 problem.

Parameters

mtime GTimeVal
 

A GTimeVal.

 The data is owned by the caller of the function.