diff --git a/src/gcal-utils.c b/src/gcal-utils.c index bab24fc8..349aac8e 100644 --- a/src/gcal-utils.c +++ b/src/gcal-utils.c @@ -85,7 +85,7 @@ gcal_get_group_name (const gchar *base_uri) } icaltimetype* -gcal_dup_icaltime (icaltimetype *date) +gcal_dup_icaltime (icaltimetype *date) { icaltimetype *new_date; @@ -103,12 +103,3 @@ gcal_dup_icaltime (icaltimetype *date) return new_date; } - -void -gcal_print_date (gchar *str, - GDate *date) -{ - gchar s [200]; - g_date_strftime (s, sizeof (s), "%a, %d %b %Y", date); - g_print ("%s %s\n", str, s); -} diff --git a/src/gcal-utils.h b/src/gcal-utils.h index baa34c04..1d12b6d8 100644 --- a/src/gcal-utils.h +++ b/src/gcal-utils.h @@ -40,7 +40,4 @@ const gchar* gcal_get_group_name (const gchar icaltimetype* gcal_dup_icaltime (icaltimetype *date); -void gcal_print_date (gchar *str, - GDate *date); - #endif // __GCAL_UTILS_H__