gtksourceviewmm



Hi everybody,

I am getting this error when adding proposals to SourceCompletionProvider
instance, for example in my SourceView class: 

testprovider = RefPtr<TestProvider>(new TestProvider());
SourceCompletion* completion = get_completion();
RefPtr<SourceCompletionContext> context = completion->create_context();
context->add_proposals(testprovider,testprovider->proposals,true); 

error:

 GtkSourceView-CRITICAL **: _gtk_source_completion_add_proposals: assertion `completion->priv->context == context' failed


I am searching two days for now, and still no solution. How can I add proposals to my SourceCompletionProvider?

Thank you very much.

mutawakil
-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome


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