[libgda] Correctly initialize variable in GdaDataAccessWrapper
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Correctly initialize variable in GdaDataAccessWrapper
- Date: Wed, 25 May 2011 20:06:46 +0000 (UTC)
commit bd632ef400c7827021ee676403c014783668f3d9
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed May 25 21:54:03 2011 +0200
Correctly initialize variable in GdaDataAccessWrapper
libgda/gda-data-access-wrapper.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index 904ae09..9e65ca6 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -1,5 +1,5 @@
-/* GDA library
- * Copyright (C) 2006 - 2010 The GNOME Foundation.
+/*
+ * Copyright (C) 2006 - 2011 The GNOME Foundation.
*
* AUTHORS:
* Vivien Malerba <malerba gnome-db org>
@@ -186,6 +186,7 @@ gda_data_access_wrapper_init (GdaDataAccessWrapper *model, G_GNUC_UNUSED GdaData
model->priv->iter_row = -1; /* because model->priv->iter does not yet exist */
model->priv->rows = NULL;
model->priv->end_of_data = FALSE;
+ model->priv->last_row = -1;
model->priv->rows_buffer_array = NULL;
model->priv->rows_buffer_index = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]