summaryrefslogtreecommitdiff
path: root/glib/src/date.ccg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/date.ccg')
-rw-r--r--glib/src/date.ccg2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/src/date.ccg b/glib/src/date.ccg
index 68edafe2..e70a0e26 100644
--- a/glib/src/date.ccg
+++ b/glib/src/date.ccg
@@ -65,11 +65,13 @@ void Date::set_parse(const Glib::ustring& str)
g_date_set_parse(&gobject_, str.c_str());
}
+_DEPRECATE_IFDEF_START
void Date::set_time(GTime time)
{
//This method, and the C function that it wraps, are deprecated.
g_date_set_time(&gobject_, time);
}
+_DEPRECATE_IFDEF_END
void Date::set_time(time_t timet)
{