[libgda] Misc. values' flags handling correction in GdaDataProxy
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Misc. values' flags handling correction in GdaDataProxy
- Date: Sat, 3 Jul 2010 18:03:31 +0000 (UTC)
commit b7a17d7b35cdab1ab26464c7937c6d8968ff7fd4
Author: Vivien Malerba <malerba gnome-db org>
Date: Sat Jul 3 15:57:50 2010 +0200
Misc. values' flags handling correction in GdaDataProxy
libgda/gda-data-proxy.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c
index 877b67e..5330011 100644
--- a/libgda/gda-data-proxy.c
+++ b/libgda/gda-data-proxy.c
@@ -1372,11 +1372,8 @@ gda_data_proxy_get_value_attributes (GdaDataProxy *proxy, gint proxy_row, gint c
model_column = col % proxy->priv->model_nb_cols;
model_row = proxy_row_to_model_row (proxy, proxy_row);
flags = gda_data_model_get_attributes_at (proxy->priv->model, model_column, model_row);
- if (model_row < 0) {
+ if (model_row < 0)
flags |= GDA_VALUE_ATTR_IS_NULL;
- if (flags & GDA_VALUE_ATTR_NO_MODIF) /* A new row with unmodifiable data means unused data */
- flags |= GDA_VALUE_ATTR_UNUSED;
- }
rm = proxy_row_to_row_modif (proxy, proxy_row);
if (rm) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]