]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Warn about copying delegates being not supported rather than being discouraged
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 5 Jun 2013 21:00:52 +0000 (23:00 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 5 Jun 2013 21:00:52 +0000 (23:00 +0200)
codegen/valaccodebasemodule.vala

index 57dd1506909e84a8a20fa95905e2146d321f525e..7b8b6cd08a2772ca96602efa57fedd535d6ed199 100644 (file)
@@ -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;