[vala/wip/attributes: 62/119] Drop Class dup_function



commit fd6df2ab1324f5cca0a2dcac52e0ed60de5f0126
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Jun 29 20:37:54 2011 +0200

    Drop Class dup_function

 vala/valaclass.vala |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/vala/valaclass.vala b/vala/valaclass.vala
index 73544f4..c199bd8 100644
--- a/vala/valaclass.vala
+++ b/vala/valaclass.vala
@@ -112,7 +112,6 @@ public class Vala.Class : ObjectTypeSymbol {
 	private bool _ref_function_void;
 	private string ref_sink_function;
 	private string param_spec_function;
-	private string copy_function;
 	private bool _is_compact;
 	private bool _is_immutable;
 
@@ -671,9 +670,6 @@ public class Vala.Class : ObjectTypeSymbol {
 		if (a.has_argument ("ref_sink_function")) {
 			set_ref_sink_function (a.get_string ("ref_sink_function"));
 		}
-		if (a.has_argument ("copy_function")) {
-			set_dup_function (a.get_string ("copy_function"));
-		}
 		if (a.has_argument ("type_id")) {
 			type_id = a.get_string ("type_id");
 		}
@@ -813,15 +809,6 @@ public class Vala.Class : ObjectTypeSymbol {
 		this.ref_sink_function = name;
 	}
 
-	public override string? get_dup_function () {
-		return copy_function;
-	}
-
-	public void set_dup_function (string? name) {
-		this.copy_function = name;
-	}
-
-
 	public override bool is_subtype_of (TypeSymbol t) {
 		if (this == t) {
 			return true;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]