projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa055d9
)
Keep e_flag_timed_wait() building.
author
Matthew Barnes
<mbarnes@redhat.com>
Tue, 12 Feb 2013 23:03:04 +0000
(18:03 -0500)
committer
Matthew Barnes
<mbarnes@redhat.com>
Tue, 12 Feb 2013 23:15:12 +0000
(18:15 -0500)
libedataserver/e-flag.c
patch
|
blob
|
history
diff --git
a/libedataserver/e-flag.c
b/libedataserver/e-flag.c
index
67d06f2
..
ffa1846
100644
(file)
--- 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:
*