[vala] Delegate processing of common Field attributes to the Variable base class



commit bcfc94224ffd8e6ccc8cfa143824939bded59152
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Mar 16 15:06:42 2011 +0100

    Delegate processing of common Field attributes to the Variable base class

 vala/valafield.vala |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/vala/valafield.vala b/vala/valafield.vala
index 4a927d2..4d260d1 100644
--- a/vala/valafield.vala
+++ b/vala/valafield.vala
@@ -111,24 +111,6 @@ public class Vala.Field : Variable, Lockable {
 				add_cheader_filename (filename);
 			}
 		}
-		if (a.has_argument ("array_length")) {
-			no_array_length = !a.get_bool ("array_length");
-		}
-		if (a.has_argument ("array_null_terminated")) {
-			array_null_terminated = a.get_bool ("array_null_terminated");
-		}
-		if (a.has_argument ("array_length_cname")) {
-			set_array_length_cname (a.get_string ("array_length_cname"));
-		}
-		if (a.has_argument ("array_length_cexpr")) {
-			set_array_length_cexpr (a.get_string ("array_length_cexpr"));
-		}
-		if (a.has_argument ("array_length_type")) {
-			array_length_type = a.get_string ("array_length_type");
-		}
-		if (a.has_argument ("delegate_target")) {
-			no_delegate_target = !a.get_bool ("delegate_target");
-		}
 	}
 	
 	/**



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