diff --git a/src/gcal-utils.h b/src/gcal-utils.h index 07bbce1b..484b3aef 100644 --- a/src/gcal-utils.h +++ b/src/gcal-utils.h @@ -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,