[gnome-builder] libide: normalize boolean input
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: normalize boolean input
- Date: Tue, 24 Mar 2015 00:15:56 +0000 (UTC)
commit d6914b1f391484a544f07f88737e92b8388af7e8
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 12 16:23:01 2015 -0700
libide: normalize boolean input
libide/ide-source-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 915db96..ac7924a 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -5329,6 +5329,8 @@ ide_source_view_set_enable_word_completion (IdeSourceView *self,
g_return_if_fail (IDE_IS_SOURCE_VIEW (self));
+ enable_word_completion = !!enable_word_completion;
+
if (priv->enable_word_completion != enable_word_completion)
{
priv->enable_word_completion = enable_word_completion;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]