[anjuta] libanjuta, language-support-vala: Fix an declaration of anjuta_project_get_properties



commit 9af6ec2f551a6eeddef9d9c46c675829855b8736
Author: SÃbastien Granjoux <seb sfo free fr>
Date:   Sun Dec 18 17:15:47 2011 +0100

    libanjuta, language-support-vala: Fix an declaration of anjuta_project_get_properties

 libanjuta/anjuta-project.c                       |    4 ++--
 plugins/language-support-vala/libanjuta-3.0.vapi |    4 ++--
 plugins/language-support-vala/plugin.vala        |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libanjuta/anjuta-project.c b/libanjuta/anjuta-project.c
index 1a660c2..1cbb9f2 100644
--- a/libanjuta/anjuta-project.c
+++ b/libanjuta/anjuta-project.c
@@ -795,7 +795,7 @@ anjuta_project_node_get_file (const AnjutaProjectNode *node)
 /**
  * anjuta_project_node_get_properties_info:
  *
- * Returns: (transfer none) (element-type Anjuta.ProjectProperty):
+ * Returns: (transfer none) (element-type Anjuta.ProjectPropertyInfo):
  */
 GList *
 anjuta_project_node_get_properties_info (AnjutaProjectNode *node)
@@ -806,7 +806,7 @@ anjuta_project_node_get_properties_info (AnjutaProjectNode *node)
 /**
  * anjuta_project_node_get_properties:
  *
- * Returns: (transfer none) (element-type Anjuta.ProjectPropertyInfo):
+ * Returns: (transfer none) (element-type Anjuta.ProjectProperty):
  */
 GList *
 anjuta_project_node_get_properties (AnjutaProjectNode *node)
diff --git a/plugins/language-support-vala/libanjuta-3.0.vapi b/plugins/language-support-vala/libanjuta-3.0.vapi
index 5c988c5..228b8ea 100644
--- a/plugins/language-support-vala/libanjuta-3.0.vapi
+++ b/plugins/language-support-vala/libanjuta-3.0.vapi
@@ -436,8 +436,8 @@ namespace Anjuta {
 		public Anjuta.ProjectProperty get_map_property (string id, string name);
 		public unowned string get_name ();
 		public Anjuta.ProjectNodeType get_node_type ();
-		public unowned GLib.List<Anjuta.ProjectPropertyInfo> get_properties ();
-		public unowned GLib.List<Anjuta.ProjectProperty> get_properties_info ();
+		public unowned GLib.List<Anjuta.ProjectProperty> get_properties ();
+		public unowned GLib.List<Anjuta.ProjectPropertyInfo> get_properties_info ();
 		public unowned Anjuta.ProjectProperty get_property (string id);
 		public unowned Anjuta.ProjectPropertyInfo get_property_info (string id);
 		public unowned Anjuta.ProjectNode get_source_from_file (GLib.File file);
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 9086e68..d902c18 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -169,7 +169,7 @@ public class ValaPlugin : Plugin {
 
 		string[] flags = {};
 		bool found = false;
-		foreach (unowned Anjuta.ProjectProperty prop in current_target.get_properties_info ()) {
+		foreach (unowned Anjuta.ProjectProperty prop in current_target.get_properties ()) {
 			if (prop.info.id == "VALAFLAGS") {
 				GLib.Shell.parse_argv (prop.value, out flags);
 				found = true;
@@ -180,7 +180,7 @@ 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_properties_info ()) {
+			foreach (unowned Anjuta.ProjectProperty prop in current_group.get_properties ()) {
 				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]