utils: add utility to unref datetimes

This commit is contained in:
Georges Basile Stavracas Neto
2016-12-09 14:45:45 -02:00
parent 93acf26507
commit 112b82c179
+2
View File
@@ -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,