summaryrefslogtreecommitdiff
path: root/glib/src/date.hg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/date.hg')
-rw-r--r--glib/src/date.hg10
1 files changed, 9 insertions, 1 deletions
diff --git a/glib/src/date.hg b/glib/src/date.hg
index 0a223901..9d04a297 100644
--- a/glib/src/date.hg
+++ b/glib/src/date.hg
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: date.hg,v 1.6 2005/11/29 15:53:27 murrayc Exp $ */
/* Copyright (C) 2002 The gtkmm Development Team
*
@@ -70,7 +70,12 @@ public:
*/
void set_parse (const Glib::ustring& str);
+
_DEPRECATE_IFDEF_START
+
+ //Avoid a build problem in the case that time_t is equivalent to guint32 (GTime is also guint32)
+ //That would make the set_time() method overload impossible.
+ #ifdef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
/** Sets the value of a date from a GTime (time_t) value.
*
* @param time GTime value to set.
@@ -78,8 +83,11 @@ public:
* @deprecated Please use set_time(time_t) or set_time(const GTimeVal&).
*/
void set_time(GTime time);
+ #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32
+
_DEPRECATE_IFDEF_END
+
/** Sets the value of a date from a <type>time_t</type> value.
*
* @param timet time_t value to set