From: Luca Bruno Date: Wed, 5 Jun 2013 21:00:52 +0000 (+0200) Subject: Warn about copying delegates being not supported rather than being discouraged X-Git-Tag: 0.21.1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da0abab239ea3d8d7578cc241a7fd680dd75ee2;p=thirdparty%2Fvala.git Warn about copying delegates being not supported rather than being discouraged --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 57dd15069..7b8b6cd08 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -4096,7 +4096,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator { if (type is DelegateType) { var delegate_type = (DelegateType) type; if (delegate_type.delegate_symbol.has_target && !context.deprecated) { - Report.deprecated (node.source_reference, "copying delegates is discouraged"); + Report.deprecated (node.source_reference, "copying delegates is not supported"); } result.delegate_target_destroy_notify_cvalue = new CCodeConstant ("NULL"); return result;