[libgda/LIBGDA_4.0] Misc. values' flags handling correction in GdaDataProxy



commit 04a2fdf7873153fc6d94992d806af03e8b28cc95
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 9a715ff..a390802 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]