[gnome-builder] clang: fix incorrect assertion



commit 28fadf7b52f8626fbb65fb0ce051ee17eeb500d3
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 14 04:37:01 2018 -0700

    clang: fix incorrect assertion

 src/plugins/clang/ide-clang-proposals.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/clang/ide-clang-proposals.c b/src/plugins/clang/ide-clang-proposals.c
index 47c859174..498c1f2bc 100644
--- a/src/plugins/clang/ide-clang-proposals.c
+++ b/src/plugins/clang/ide-clang-proposals.c
@@ -232,7 +232,7 @@ ide_clang_proposals_clear (IdeClangProposals *self)
   GList *list;
   guint old_len;
 
-  g_assert (IDE_IS_CLANG_CLIENT (self));
+  g_assert (IDE_IS_CLANG_PROPOSALS (self));
 
   self->line = -1;
   self->line_offset = -1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]