libgda r3262 - in trunk: . libgda
- From: vivien svn gnome org
- To: svn-commits-list gnome org
- Subject: libgda r3262 - in trunk: . libgda
- Date: Thu, 11 Dec 2008 19:57:45 +0000 (UTC)
Author: vivien
Date: Thu Dec 11 19:57:45 2008
New Revision: 3262
URL: http://svn.gnome.org/viewvc/libgda?rev=3262&view=rev
Log:
2008-12-11 Vivien Malerba <malerba gnome-db org>
* libgda/gda-connection.c: fix for bug #564159
Modified:
trunk/ChangeLog
trunk/libgda/gda-connection.c
Modified: trunk/libgda/gda-connection.c
==============================================================================
--- trunk/libgda/gda-connection.c (original)
+++ trunk/libgda/gda-connection.c Thu Dec 11 19:57:45 2008
@@ -3322,7 +3322,9 @@
key.filters = NULL;
if (key.nb_filters > 0)
key.filters = g_new (gchar *, key.nb_filters);
- for (node = filters; node != NULL; node = g_list_next (node)) {
+ for (node = filters, i = 0;
+ node;
+ node = node->next, i++) {
if (!set)
set = g_object_new (GDA_TYPE_SET, NULL);
gda_set_add_holder (set, GDA_HOLDER (node->data));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]