[anjuta] language-support-vala: update project property interfaces
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-vala: update project property interfaces
- Date: Sun, 18 Dec 2011 10:40:27 +0000 (UTC)
commit 38334514ae6e16478df8eb5889fa1c7f7399264f
Author: Arnel A. Borja <kyoushuu yahoo com>
Date: Sun Dec 18 10:05:14 2011 +0800
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]