[anjuta] language-support-js: use anjuta_language_provider_proposals()



commit 839db0f2e5aaeeb146f309922a2e1a2b976e2631
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Mon Apr 22 00:04:09 2013 +0200

    language-support-js: use anjuta_language_provider_proposals()

 plugins/language-support-js/plugin.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/language-support-js/plugin.c b/plugins/language-support-js/plugin.c
index 653e2d2..23637b4 100644
--- a/plugins/language-support-js/plugin.c
+++ b/plugins/language-support-js/plugin.c
@@ -544,13 +544,13 @@ ilanguage_provider_populate (IAnjutaLanguageProvider* obj,
                        proposal->data = prop_data;
                        nsuggest = g_list_prepend (nsuggest, proposal);
                }
-               ianjuta_editor_assist_proposals (IANJUTA_EDITOR_ASSIST (plugin->current_editor),
-                                                IANJUTA_PROVIDER(obj), nsuggest, NULL, TRUE, NULL);
+               anjuta_language_provider_proposals (plugin->lang_prov, IANJUTA_PROVIDER(obj),
+                                                   nsuggest, NULL, TRUE);
                g_list_free (nsuggest);
                return start_iter;
        }
-       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);
        
        return start_iter;
 }


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