GNOME Bugzilla – Bug 628704
Gtk.SourceCompletionProposal and Provider: abstract classes instead of interfaces
Last modified: 2010-10-23 12:44:26 UTC
Gtk.SourceCompletionProposal and Gtk.SourceCompletionProvider are interfaces in gtksourceview-2.0.vapi. But normally we don't have to implement all methods. An example is given in tests/test-completion.py of gtksourceview source code, and we see that the subclass of CompletionProvider doesn't implement all methods. So I think it should be abstract classes instead of interfaces.
Created attachment 171588 [details] [review] gtksourceview-2.0: Make some interface methods virtual, not abstract. Unless I'm misunderstanding something, the problem isn't that they are interfaces instead of abstract classes. Rather, the problem is that the methods are abstract instead of virtual. Give this patch a try, if it fixes your issue I'll go ahead and push it.
commit 99539587fd28719f2d5d3ab75f53f73309284ad4 Author: Evan Nemerson <evan@coeus-group.com> Date: Sat Oct 2 13:02:08 2010 -0700 gtksourceview-2.0: Make some interface methods virtual, not abstract Fixes bug 628704.
Sorry for my late response, the patch fixes the problem, thank you!