[gedit] time: Remove glibc version check
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] time: Remove glibc version check
- Date: Tue, 13 Sep 2016 11:57:40 +0000 (UTC)
commit ef65fda074d58296b8c919f64744e48a1e610123
Author: Garrett Regier <garrettregier gmail com>
Date: Tue Sep 13 03:56:33 2016 -0700
time: Remove glibc version check
GDateTime is now used which always
supports this format string.
plugins/time/gedit-time-plugin.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/time/gedit-time-plugin.c b/plugins/time/gedit-time-plugin.c
index ec814a0..9e1b6ef 100644
--- a/plugins/time/gedit-time-plugin.c
+++ b/plugins/time/gedit-time-plugin.c
@@ -70,9 +70,7 @@ static const gchar *formats[] =
"%I.%M %p",
"%d/%m/%Y %H:%M:%S",
"%d/%m/%y %H:%M:%S",
-#if __GLIBC__ >= 2
"%a, %d %b %Y %H:%M:%S %z",
-#endif
NULL
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]