func TreeRowReferenceNew(model *TreeModel, path *TreePath) (*TreeRowReference, error) {
	c := C.gtk_tree_row_reference_new(model.native(), path.native())
	if c == nil {
		return nil, nilPtrErr
	}
	r := &TreeRowReference{c}
	runtime.SetFinalizer(r, (*TreeRowReference).free)
	return r, nil
}
func TreeRowReferenceNew(model *TreeModel, path *TreePath) (*TreeRowReference, error) {
	c := C.gtk_tree_row_reference_new(model.native(), path.native())
	if c == nil {
		return nil, nilPtrErr
	}
	r := &TreeRowReference{c}
	runtime.SetFinalizer(r, (*TreeRowReference).free)
	return r, nil
}
// TreeRowReferenceNew is a wrapper around gtk_tree_row_reference_new().