[libgda/libgda-vala] Fix GI annotations to Gdaui.DataSelector.get_selected_rows ()
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/libgda-vala] Fix GI annotations to Gdaui.DataSelector.get_selected_rows ()
- Date: Tue, 14 May 2013 18:13:46 +0000 (UTC)
commit 7d5bc5cb5cd73341ce726f1884be68a0952d5b7f
Author: Daniel Espinosa <esodan gmail com>
Date: Fri May 3 13:29:58 2013 -0500
Fix GI annotations to Gdaui.DataSelector.get_selected_rows ()
libgda-ui/gdaui-data-selector.c | 2 +-
libgda-ui/libgdaui-5.0.vapi | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/gdaui-data-selector.c b/libgda-ui/gdaui-data-selector.c
index acc1687..bf109bd 100644
--- a/libgda-ui/gdaui-data-selector.c
+++ b/libgda-ui/gdaui-data-selector.c
@@ -133,7 +133,7 @@ gdaui_data_selector_set_model (GdauiDataSelector *iface, GdaDataModel *model)
* uses a #GdaDataProxy (as is the case for example for the #GdauiRawForm, #GdauiForm, #GdauiRawGrid
* and #GdauiGrid).
*
- * Returns: (transfer full): an array of #gint values, one for each selected row. Use g_array_free() when
finished (passing %TRUE as the last argument)
+ * Returns: (transfer full) (element-type gint): an array of #gint values, one for each selected row. Use
g_array_free() when finished (passing %TRUE as the last argument)
*
* Since: 4.2
*/
diff --git a/libgda-ui/libgdaui-5.0.vapi b/libgda-ui/libgdaui-5.0.vapi
index fe4f180..936f029 100644
--- a/libgda-ui/libgdaui-5.0.vapi
+++ b/libgda-ui/libgdaui-5.0.vapi
@@ -626,6 +626,7 @@ namespace Gdaui {
public interface DataSelector : GLib.Object {
public abstract unowned Gda.DataModelIter get_data_set ();
public abstract unowned Gda.DataModel get_model ();
+ public abstract GLib.Array<int> get_selected_rows ();
public abstract bool select_row (int row);
public abstract void set_column_visible (int column, bool visible);
public abstract void set_model (Gda.DataModel model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]