Arley Consuegra Rosello wrote:
> Hello, I'm testing the GtkTreeView but the signal row-activated don't
> want work, the program says "segmentation fails"
>
> below the code of the fuction that must be called by the signal
> row-activated
>
> _datosRepo is a TreeStore
> .
> .
> .
> [CCode (instance_pos = -1)]
> protected void desplegar_arbol(TreePath ruta, TreeViewColumn columna){
Try:
[CCode (instance_pos = -1)]
protected void desplegar_arbol(TreeView view, TreePath ruta, TreeViewColumn
columna){
The first parameter of a signal handler function is supposed to be the
signal source. Because the signal is connected by Gtk.Builder, not by Vala,
the compiler can't tell you that.
Best regards,
Frederik
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list