summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2011-06-14 22:52:05 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2011-06-14 22:52:05 -0400
commit088a3a84850ceb1eed06f99d68c051bad45134dc (patch)
treedd23c89250670e7e7d4c9a19308fc2da9a48ec9b
parent73457790f127457251798000264b8c22c6af2a14 (diff)
downloadglibmm-088a3a84850ceb1eed06f99d68c051bad45134dc.tar.gz
TimeZone: Const corrections.
* glib/src/timezone.hg: Correct the constness of the TimeZone for some methods.
-rw-r--r--ChangeLog7
-rw-r--r--glib/src/timezone.hg10
2 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index f520a9cb..1b061456 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
+ TimeZone: Const corrections.
+
+ * glib/src/timezone.hg: Correct the constness of the TimeZone for some
+ methods.
+
+2011-06-14 José Alburquerque <jaalburqu@svn.gnome.org>
+
Increase the Glib requirement to 2.29.8.
* configure.ac: The requirement was increased in the previous to the
diff --git a/glib/src/timezone.hg b/glib/src/timezone.hg
index 103190d7..3d88e881 100644
--- a/glib/src/timezone.hg
+++ b/glib/src/timezone.hg
@@ -64,11 +64,11 @@ public:
_WRAP_METHOD(static void refresh_local(), g_time_zone_refresh_local)
- _WRAP_METHOD(int find_interval(TimeType type, gint64 time), g_time_zone_find_interval)
- _WRAP_METHOD(int adjust_time(TimeType type, gint64& time), g_time_zone_adjust_time)
- _WRAP_METHOD(Glib::ustring get_abbreviation(int interval), g_time_zone_get_abbreviation)
- _WRAP_METHOD(gint32 get_offset(int interval), g_time_zone_get_offset)
- _WRAP_METHOD(bool is_dst(int interval), g_time_zone_is_dst)
+ _WRAP_METHOD(int find_interval(TimeType type, gint64 time) const, g_time_zone_find_interval)
+ _WRAP_METHOD(int adjust_time(TimeType type, gint64& time) const, g_time_zone_adjust_time)
+ _WRAP_METHOD(Glib::ustring get_abbreviation(int interval) const, g_time_zone_get_abbreviation)
+ _WRAP_METHOD(gint32 get_offset(int interval) const, g_time_zone_get_offset)
+ _WRAP_METHOD(bool is_dst(int interval) const, g_time_zone_is_dst)
};
} // namespace Glib