[Vala] vte get_cursor_position error
- From: Anthony Taylor <tony paperdove org>
- To: vala-list gnome org
- Subject: [Vala] vte get_cursor_position error
- Date: Sat, 02 Aug 2008 11:59:19 -0400
Hey, folks,
There's a bug in vte.vapi, with get_cursor_position, at least in svn
revision 1730. The current definition is:
public void get_cursor_position (long column, long row);
It should be:
public void get_cursor_position (out long column, out long row);
I'm still pretty new to Vala development, so I don't know exactly how
this all fits together. So, a couple of (hopefully quick, hopefully
not-too-naive) questions:
In the file "vte.gi", the method is defined thusly:
<method name="get_cursor_position"
symbol="vte_terminal_get_cursor_position">
<return-type type="void"/>
<parameters>
<parameter name="terminal" type="VteTerminal*"/>
<parameter name="column" type="glong*"/>
<parameter name="row" type="glong*"/>
</parameters>
</method>
Both the column and row types are set to glong*. Shouldn't that get
translated as an "out" parameter automatically? Or, is this just a
matter of regenerating the vte.vapi file? (I've never done that, but I'm
sure I can figure it out.)
Finally (and this is naive), how do I submit a patch, if one is required?
Thanks a bunch.
- Tony
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]