[libgda] GdauiRawGrid correction



commit a49924bcb261270fa69a5a83df3d75cef3683c70
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed Apr 25 21:16:09 2012 +0200

    GdauiRawGrid correction

 libgda-ui/gdaui-raw-grid.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 2a0f85c..e73b9ce 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -3083,9 +3083,6 @@ proxy_reset_pre_cb (GdaDataProxy *proxy, GdauiRawGrid *grid)
 static void
 proxy_reset_cb (GdaDataProxy *proxy, GdauiRawGrid *grid)
 {
-	g_object_ref (G_OBJECT (proxy));
-	g_object_set (G_OBJECT (grid), "model", proxy, NULL);
-	g_object_unref (G_OBJECT (proxy));
 	if (grid->priv->iter_row >= 0)
 		gda_data_model_iter_move_to_row (grid->priv->iter, grid->priv->iter_row);
 	grid->priv->iter_row = -1;



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