[gnome-calendar] enums: Add the GcalTimestampPolicy enum
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] enums: Add the GcalTimestampPolicy enum
- Date: Thu, 16 Jun 2022 11:44:37 +0000 (UTC)
commit 4cf8b51de139a49efbd346a6f54f0bdd6d744e8a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue May 10 14:04:05 2022 +0200
enums: Add the GcalTimestampPolicy enum
This will be used to control more freely what timestamp is shown on
event widgets.
src/gcal-enums.h | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/gcal-enums.h b/src/gcal-enums.h
index 87971ea2..df71a6e5 100644
--- a/src/gcal-enums.h
+++ b/src/gcal-enums.h
@@ -55,3 +55,10 @@ typedef enum
GCAL_WEEK_DAY_FRIDAY = 1 << 5,
GCAL_WEEK_DAY_SATURDAY = 1 << 6
} GcalWeekDay;
+
+typedef enum
+{
+ GCAL_TIMESTAMP_POLICY_NONE,
+ GCAL_TIMESTAMP_POLICY_START,
+ GCAL_TIMESTAMP_POLICY_END,
+} GcalTimestampPolicy;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]