From 466203d83e4f572ca9a917c3f97e3791734359aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Fri, 4 May 2012 11:48:54 -0400 Subject: [PATCH] Style fixes. --- src/gcal-utils.c | 11 +---------- src/gcal-utils.h | 3 --- 2 files changed, 1 insertion(+), 13 deletions(-) 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__