[evolution-data-server/openismus-work-master: 13/13] ESourceRevisionGuards: Fixup truth value at set_enabled() time.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-master: 13/13] ESourceRevisionGuards: Fixup truth value at set_enabled() time.
- Date: Tue, 29 Jan 2013 07:26:07 +0000 (UTC)
commit cbbe586c9f1d5b4f0f19e7edabfbef0a30f96873
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Tue Jan 29 16:14:06 2013 +0900
ESourceRevisionGuards: Fixup truth value at set_enabled() time.
libedataserver/e-source-revision-guards.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libedataserver/e-source-revision-guards.c b/libedataserver/e-source-revision-guards.c
index b4b831e..9e3d793 100644
--- a/libedataserver/e-source-revision-guards.c
+++ b/libedataserver/e-source-revision-guards.c
@@ -168,6 +168,8 @@ e_source_revision_guards_set_enabled (ESourceRevisionGuards *extension,
{
g_return_if_fail (E_IS_SOURCE_REVISION_GUARDS (extension));
+ enabled = !!enabled;
+
g_mutex_lock (&extension->priv->property_lock);
if (extension->priv->enabled == enabled) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]