[gspell] InlineCheckerTextBuffer: replace a g_assert_true() by g_assert()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] InlineCheckerTextBuffer: replace a g_assert_true() by g_assert()
- Date: Sun, 2 Apr 2017 15:21:02 +0000 (UTC)
commit 4a17721c5f07653a9c667ba7766dc8c07da790cf
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Apr 2 17:17:10 2017 +0200
InlineCheckerTextBuffer: replace a g_assert_true() by g_assert()
We don't need to call g_test_set_nonfatal_assertions().
gspell/gspell-inline-checker-text-buffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gspell/gspell-inline-checker-text-buffer.c b/gspell/gspell-inline-checker-text-buffer.c
index 3c6b400..d24f6dd 100644
--- a/gspell/gspell-inline-checker-text-buffer.c
+++ b/gspell/gspell-inline-checker-text-buffer.c
@@ -413,7 +413,7 @@ check_visible_region_in_view (GspellInlineCheckerTextBuffer *spell,
}
else
{
- g_assert_true (spell->unit_test_mode);
+ g_assert (spell->unit_test_mode);
gtk_text_buffer_get_bounds (spell->buffer, &visible_start, &visible_end);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]