Method

GLibDateTimeref

Declaration

GDateTime*
g_date_time_ref (
  GDateTime* datetime
)

Description

Atomically increments the reference count of datetime by one.

Available since:2.26

Return value

Returns: GDateTime
 

The GDateTime with the reference count increased.

 The caller of the method takes ownership of the data, and is responsible for freeing it.