build error: overriding method LineContainer.get_adjustments' is incompatible with base method
Mx.Scrollable.get_adjustments' #198
Description
Hi.
I'm attempting to build mx and finalterm for ArchLinux using the AUR packages:
https://aur.archlinux.org/packages/mx-git/
https://aur.archlinux.org/packages/finalterm-git/
mx builds fine. However, I get an error building Final Term. I've logged the builds of both here: https://gist.github.com/jokeyrhyme/6646520
For convenience, the specific error is:
/var/abs/local/finalterm-git/src/finalterm/src/TerminalView.vala:561.2-561.28: error: overriding method `LineContainer.get_adjustments' is incompatible with base method `Mx.Scrollable.get_adjustments': incompatible type of parameter 1.
public void get_adjustments(out unowned Mx.Adjustment? hadjustment, out unowned Mx.Adjustment? vadjustment) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Examining the source for both mx and FinalTerm, it looks like the get_adjustments
method is supposed to have 3 arguments, but when FinalTerm overrides it, it only declares 2 of them.
https://github.com/p-e-w/finalterm/blob/master/src/TerminalView.vala#L561
https://github.com/clutter-project/mx/blob/master/mx/mx-scrollable.h#L61
I don't know enough about Vala to go about fixing this myself. If there's anything further I can do to help resolve this, please don't hesitate to ask. Cheers!