- (if (foreign-symbol-pointer property-setter)
- (compile nil `(lambda (object new-value)
- (foreign-funcall ,property-setter
- g-object object
- ,property-type new-value
- :void)))
- (progn
- (warn "Property writer function '~A' has not been found" property-setter)
- (lambda (object)
- (declare (ignore object))
- (error "Property writer function '~A' has not been found" property-setter))))
+ (compile nil (if (foreign-symbol-pointer property-setter)
+ `(lambda (object new-value)
+ (foreign-funcall ,property-setter
+ g-object object
+ ,property-type new-value
+ :void))
+ `(lambda (object)
+ (declare (ignore object))
+ (error "Property setter ~A is not avaiable" ,property-setter))))