[buoh] Removed check for glib 2.10.0
- From: Pablo Castellano <pablog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh] Removed check for glib 2.10.0
- Date: Thu, 13 May 2010 20:50:11 +0000 (UTC)
commit 43efe6a749baf1b3db3230ba91cf2c73d633b99a
Author: Pablo Castellano <pablog src gnome org>
Date: Mon Feb 1 04:50:02 2010 +0100
Removed check for glib 2.10.0
src/buoh-comic-manager-date.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/buoh-comic-manager-date.c b/src/buoh-comic-manager-date.c
index 04da367..70f69ea 100644
--- a/src/buoh-comic-manager-date.c
+++ b/src/buoh-comic-manager-date.c
@@ -343,18 +343,7 @@ buoh_comic_manager_date_get_last (BuohComicManager *comic_manager)
date = g_date_new ();
-#if GLIB_CHECK_VERSION(2,10,0)
g_date_set_time_t (date, time (NULL));
-#else
- {
- struct tm *gmt;
- time_t now;
-
- now = time (NULL);
- gmt = gmtime (&now);
- g_date_set_time (date, mktime (gmt));
- }
-#endif /* GLIB_CHECK_VERSION(2,10,0) */
if (priv->offset != 0) {
g_date_subtract_days (date, priv->offset);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]