[vala/staging] glib-2.0: Add TimeZone.offset() constructor



commit 8b136f6047a1721a11049633167a70845daa622e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Apr 22 10:57:18 2018 +0200

    glib-2.0: Add TimeZone.offset() constructor

 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index f21c0a2..65eac35 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2969,6 +2969,8 @@ namespace GLib {
                public TimeZone (string identifier);
                public TimeZone.utc ();
                public TimeZone.local ();
+               [Version (since = "2.58")]
+               public TimeZone.offset (int32 seconds);
                public int find_interval (TimeType type, int64 time);
                public int adjust_time (TimeType type, ref int64 time);
                public unowned string get_abbreviation (int interval);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]