[libgda/LIBGDA_5.0] GdauiRawGrid: don't compute row number if not necessary



commit 711a6c3512506176eb6a7e2a8b3402880f2b41c6
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jan 24 18:30:36 2012 +0100

    GdauiRawGrid: don't compute row number if not necessary

 libgda-ui/gdaui-raw-grid.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index ee54a60..2966c5f 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -1187,7 +1187,6 @@ cell_value_set_attributes (G_GNUC_UNUSED GtkTreeViewColumn *tree_column,
 		gint col;
 		gint offset;
 		GValue *value;
-		gint row;
 
 		offset = gda_data_model_get_n_columns (gda_data_proxy_get_proxied_model (grid->priv->proxy));
 
@@ -1196,7 +1195,6 @@ cell_value_set_attributes (G_GNUC_UNUSED GtkTreeViewColumn *tree_column,
 				     GDA_SET_NODE (group->group->nodes->data)->holder);
 		gtk_tree_model_get (GTK_TREE_MODEL (grid->priv->store), iter,
 				    GDAUI_DATA_STORE_COL_TO_DELETE, &to_be_deleted,
-				    GDAUI_DATA_STORE_COL_MODEL_ROW, &row,
 				    col, &value,
 				    offset + col, &attributes, -1);
 		g_object_set (G_OBJECT (cell),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]