[anjuta] language-support-js: replace one more use of ianjuta_editor_assist_proposals()



commit 4aa21de88380c12287674bf128938f987b0bb5cb
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Mon Apr 22 11:12:47 2013 +0200

    language-support-js: replace one more use of ianjuta_editor_assist_proposals()

 plugins/language-support-js/plugin.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/language-support-js/plugin.c b/plugins/language-support-js/plugin.c
index 23637b4..1009abd 100644
--- a/plugins/language-support-js/plugin.c
+++ b/plugins/language-support-js/plugin.c
@@ -490,8 +490,9 @@ ilanguage_provider_populate (IAnjutaLanguageProvider* obj,
 
        if (strlen (str) < g_settings_get_int (plugin->prefs, MIN_CODECOMPLETE))
        {
-               ianjuta_editor_assist_proposals (IANJUTA_EDITOR_ASSIST (plugin->current_editor),
-                                                                                IANJUTA_PROVIDER(obj), NULL, 
NULL, TRUE, NULL);
+               anjuta_language_provider_proposals (plugin->lang_prov, IANJUTA_PROVIDER(obj),
+                                                   NULL, NULL, TRUE);
+
                /* Highlight missed semicolon */
                code_completion_get_list (plugin, file, NULL, depth);
                return start_iter;


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