[libgdamm] get_values(): Actually return the result,
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgdamm] get_values(): Actually return the result,
- Date: Mon, 18 May 2009 05:06:33 -0400 (EDT)
commit 5f943389bf674fb6044339a8ceea487350bc44ca
Author: Murray Cumming <murrayc murrayc com>
Date: Mon May 18 11:06:26 2009 +0200
get_values(): Actually return the result,
fixing a compiler warning. Bug #582997 (Vincent Untz).
---
ChangeLog | 5 +++++
libgda/src/dataproxy.ccg | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 36c1639..dd6bf15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-18 Murray Cumming <murrayc murrayc com>
+
+ * libgda/src/dataproxy.ccg: get_values(): Actually return the result,
+ fixing a compiler warning. Bug #582997 (Vincent Untz).
+
3.99.14:
2009-03-13 Murray Cumming <murrayc murrayc com>
diff --git a/libgda/src/dataproxy.ccg b/libgda/src/dataproxy.ccg
index 7cdaad4..45c0689 100644
--- a/libgda/src/dataproxy.ccg
+++ b/libgda/src/dataproxy.ccg
@@ -31,7 +31,7 @@ namespace Gda
ValueSList DataProxy::get_values(int proxy_row, const Glib::ArrayHandle<int>& cols_index) const
{
GSList* values = gda_data_proxy_get_values(const_cast<GdaDataProxy*>(gobj()), proxy_row, const_cast<gint*>(cols_index.data()), cols_index.size());
- ValueSList list(values, Glib::OWNERSHIP_SHALLOW);
+ return ValueSList(values, Glib::OWNERSHIP_SHALLOW);
}
} /* namespace Gda */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]