>From cf8cd234777eb3249cfd6226b16e22c5dc71c4e7 Mon Sep 17 00:00:00 2001 From: "Arnel A. Borja" Date: Sun, 18 Dec 2011 10:05:14 +0800 Subject: [PATCH 2/2] language-support-vala: update project property interfaces Additional changes to split project properties and project properties informations --- plugins/language-support-vala/plugin.vala | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala index b0ebab9..9086e68 100644 --- a/plugins/language-support-vala/plugin.vala +++ b/plugins/language-support-vala/plugin.vala @@ -169,8 +169,8 @@ public class ValaPlugin : Plugin { string[] flags = {}; bool found = false; - foreach (unowned Anjuta.ProjectProperty prop in current_target.get_custom_properties ()) { - if (prop.native.id == "VALAFLAGS") { + foreach (unowned Anjuta.ProjectProperty prop in current_target.get_properties_info ()) { + if (prop.info.id == "VALAFLAGS") { GLib.Shell.parse_argv (prop.value, out flags); found = true; break; @@ -180,8 +180,8 @@ public class ValaPlugin : Plugin { if (!found) { /* Fall back to AM_VALAFLAGS */ var current_group = current_target.parent_type (Anjuta.ProjectNodeType.GROUP); - foreach (unowned Anjuta.ProjectProperty prop in current_group.get_custom_properties ()) { - if (prop.native.id == "VALAFLAGS") { + foreach (unowned Anjuta.ProjectProperty prop in current_group.get_properties_info ()) { + if (prop.info.id == "VALAFLAGS") { GLib.Shell.parse_argv (prop.value, out flags); break; } -- 1.7.5.4