[libgda] gda_data_access_wrapper_set_mapping(): API correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] gda_data_access_wrapper_set_mapping(): API correction
- Date: Sat, 29 Dec 2012 22:06:41 +0000 (UTC)
commit d7c65d5f4bda6bc3d46d74014e4a5d5ed2bb5959
Author: Vivien Malerba <malerba gnome-db org>
Date: Sat Dec 29 22:50:53 2012 +0100
gda_data_access_wrapper_set_mapping(): API correction
libgda/gda-data-access-wrapper.c | 2 +-
libgda/gda-data-access-wrapper.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index b79128c..952835d 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -476,7 +476,7 @@ gda_data_access_wrapper_new (GdaDataModel *model)
* Since: 5.2
*/
gboolean
-gda_data_access_wrapper_set_mapping (GdaDataAccessWrapper *wrapper, gint *mapping, gint mapping_size)
+gda_data_access_wrapper_set_mapping (GdaDataAccessWrapper *wrapper, const gint *mapping, gint mapping_size)
{
g_return_val_if_fail (GDA_IS_DATA_ACCESS_WRAPPER (wrapper), FALSE);
diff --git a/libgda/gda-data-access-wrapper.h b/libgda/gda-data-access-wrapper.h
index ebbf2f2..38ac9a5 100644
--- a/libgda/gda-data-access-wrapper.h
+++ b/libgda/gda-data-access-wrapper.h
@@ -65,7 +65,7 @@ struct _GdaDataAccessWrapperClass {
GType gda_data_access_wrapper_get_type (void) G_GNUC_CONST;
GdaDataModel *gda_data_access_wrapper_new (GdaDataModel *model);
gboolean gda_data_access_wrapper_set_mapping (GdaDataAccessWrapper *wrapper,
- gint *mapping, gint mapping_size);
+ const gint *mapping, gint mapping_size);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]