[anjuta] libanjuta: fix gir annotations for IAnjutaProvider
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] libanjuta: fix gir annotations for IAnjutaProvider
- Date: Mon, 10 Jan 2011 17:32:03 +0000 (UTC)
commit f30df25efd8455d27276464681a870a08d3c8a9f
Author: Abderrahim Kitouni <akitouni src gnome org>
Date: Sat Jan 8 20:16:39 2011 +0100
libanjuta: fix gir annotations for IAnjutaProvider
(and correct indentation and doc comment syntax in the process)
https://bugzilla.gnome.org/show_bug.cgi?id=639087
libanjuta/interfaces/libanjuta.idl | 77 +++++++++++-----------
plugins/language-support-vala/libanjuta-3.0.vapi | 1 +
2 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/libanjuta/interfaces/libanjuta.idl b/libanjuta/interfaces/libanjuta.idl
index 6755d44..63785b7 100644
--- a/libanjuta/interfaces/libanjuta.idl
+++ b/libanjuta/interfaces/libanjuta.idl
@@ -2514,52 +2514,51 @@ interface IAnjutaEditorFactory
*/
interface IAnjutaProvider
{
- #include "ianjuta-iterable.h"
-
- /**
- * ianjuta_provider_populate
- * @obj: Self
- * @iter: the text iter where the provider should be populated
- * @err: Error propagation and reporting.
- *
- * Show completion for the context at position @iter. The provider should
- * call ianjuta_editor_assist_proposals here to add proposals to the list.
- *
- * Note that this is called after every character typed and the list of proposals
- * has to be completely renewed.
- */
- void populate(IAnjutaIterable* iter);
-
- /**
- * ianjuta_provider_get_start_iter
- * @obj: Self
- * @err: Error propagation and reporting.
- *
- * Get the iter where the current completion started
- *
- * Returns: current start iter
- */
- IAnjutaIterable* get_start_iter();
-
- /**
- * ianjuta_provider_activate
- * @obj: Self
- * @iter: position where the completion occurs
- * @data: data assigned to the proposal
- * @err: Error propagation and reporting.
- *
- * Show completion for the context at position @iter
- */
- void activate(IAnjutaIterable* iter, gpointer data);
+ #include "ianjuta-iterable.h"
+
+ /**
+ * ianjuta_provider_populate:
+ * @obj: Self
+ * @iter: the text iter where the provider should be populated
+ * @err: Error propagation and reporting.
+ *
+ * Show completion for the context at position @iter. The provider should
+ * call ianjuta_editor_assist_proposals here to add proposals to the list.
+ *
+ * Note that this is called after every character typed and the list of proposals
+ * has to be completely renewed.
+ */
+ void populate(IAnjutaIterable* iter);
+
+ /**
+ * ianjuta_provider_get_start_iter:
+ * @obj: Self
+ * @err: Error propagation and reporting.
+ *
+ * Get the iter where the current completion started
+ *
+ * Returns: (transfer none): current start iter
+ */
+ IAnjutaIterable* get_start_iter();
+
+ /**
+ * ianjuta_provider_activate:
+ * @obj: Self
+ * @iter: position where the completion occurs
+ * @data: data assigned to the proposal
+ * @err: Error propagation and reporting.
+ *
+ * Show completion for the context at position @iter
+ */
+ void activate(IAnjutaIterable* iter, gpointer data);
/**
- * ianjuta_provider_get_name
+ * ianjuta_provider_get_name:
* @obj: Self
*
* Return a (translatable) name for the provider
*/
const gchar* get_name();
-
}
diff --git a/plugins/language-support-vala/libanjuta-3.0.vapi b/plugins/language-support-vala/libanjuta-3.0.vapi
index df9ad97..4bbb263 100644
--- a/plugins/language-support-vala/libanjuta-3.0.vapi
+++ b/plugins/language-support-vala/libanjuta-3.0.vapi
@@ -1469,6 +1469,7 @@ namespace IAnjuta {
public abstract void activate (IAnjuta.Iterable iter, void* data) throws GLib.Error;
public static GLib.Quark error_quark ();
public abstract unowned string get_name () throws GLib.Error;
+ public abstract unowned IAnjuta.Iterable get_start_iter () throws GLib.Error;
public abstract void populate (IAnjuta.Iterable iter) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]