[anjuta] language-support-cpp: Don't show duplicated results in autocompletion
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-cpp: Don't show duplicated results in autocompletion
- Date: Mon, 25 Oct 2010 12:49:18 +0000 (UTC)
commit 64504be01464631037225b3d27dc4f4671df5fa6
Author: Johannes Schmid <jhs gnome org>
Date: Mon Oct 25 14:45:40 2010 +0200
language-support-cpp: Don't show duplicated results in autocompletion
.../language-support-cpp-java/cpp-java-assist.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/cpp-java-assist.c b/plugins/language-support-cpp-java/cpp-java-assist.c
index f85495b..9dc50ef 100644
--- a/plugins/language-support-cpp-java/cpp-java-assist.c
+++ b/plugins/language-support-cpp-java/cpp-java-assist.c
@@ -619,8 +619,8 @@ on_symbol_search_complete (IAnjutaSymbolQuery *query, IAnjutaIterable* symbols,
g_completion_add_items (assist->priv->completion_cache, proposals);
gboolean running = assist->priv->async_system_id || assist->priv->async_file_id ||
assist->priv->async_project_id;
-
- cpp_java_assist_populate_real (assist, !running);
+ if (!running)
+ cpp_java_assist_populate_real (assist, TRUE);
g_list_free (proposals);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]