From b5d3599d10f3acf84d23316c5c6ad65964c82e61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Thu, 13 Oct 2011 16:20:37 -0400 Subject: Date: set_time(): Use g_date_set_time_t() instead of g_date_set_time(). * glib/src/date.ccg: The latter function is deprecated. This fixes the build with the master branch of glib with deprecations disabled though there's one small error related to the Threads discussion on the mailing list that will still have to be looked at. --- glib/src/date.ccg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glib/src/date.ccg') diff --git a/glib/src/date.ccg b/glib/src/date.ccg index 75ff1442..507c7037 100644 --- a/glib/src/date.ccg +++ b/glib/src/date.ccg @@ -87,7 +87,7 @@ _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); + g_date_set_time_t(&gobject_, static_cast(time)); } #endif //GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 -- cgit v1.2.1