From: Matthew Barnes Date: Tue, 12 Feb 2013 23:03:04 +0000 (-0500) Subject: Keep e_flag_timed_wait() building. X-Git-Tag: upstream/3.7.91~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e73cda0d560a86384beaafcfea101ef826f22de4;p=platform%2Fupstream%2Fevolution-data-server.git Keep e_flag_timed_wait() building. --- diff --git a/libedataserver/e-flag.c b/libedataserver/e-flag.c index 67d06f2..ffa1846 100644 --- a/libedataserver/e-flag.c +++ b/libedataserver/e-flag.c @@ -25,6 +25,16 @@ struct _EFlag { gboolean is_set; }; +/* This is to keep e_flag_timed_wait() building, since + * it relies on g_cond_timed_wait() which is deprecated. */ +#if GLIB_CHECK_VERSION(2,35,6) +#ifdef G_DISABLE_DEPRECATED +gboolean g_cond_timed_wait (GCond *cond, + GMutex *mutex, + GTimeVal *timeval); +#endif /* G_DISABLE_DEPRECATED */ +#endif /* GLIB_CHECK_VERSION */ + /** * e_flag_new: *