utils: add utility to unref datetimes
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#define MINUTES_PER_DAY 1440
|
||||
#define MAX_MINUTES (7 * MINUTES_PER_DAY)
|
||||
|
||||
#define gcal_clear_datetime(dt) g_clear_pointer (dt, g_date_time_unref)
|
||||
|
||||
typedef enum
|
||||
{
|
||||
GCAL_WINDOW_VIEW_DAY,
|
||||
|
||||
Reference in New Issue
Block a user