[libgda/LIBGDA_5.0] Misc. corrections



commit 9a754d38ddbc85b12120e1c01270328927c2602e
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Feb 4 21:55:43 2012 +0100

    Misc. corrections

 libgda/gda-data-model.c                  |    1 -
 providers/ldap/gdaprov-data-model-ldap.c |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index 0112319..5c3d0c6 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -2025,7 +2025,6 @@ gda_data_model_import_from_model (GdaDataModel *to, GdaDataModel *from,
 					value = (GValue *) (avlist->data);
 				}
 			}
-			g_assert (value);
 
 			values = g_list_prepend (values, value);
 
diff --git a/providers/ldap/gdaprov-data-model-ldap.c b/providers/ldap/gdaprov-data-model-ldap.c
index 09e6846..c88793e 100644
--- a/providers/ldap/gdaprov-data-model-ldap.c
+++ b/providers/ldap/gdaprov-data-model-ldap.c
@@ -528,6 +528,7 @@ _ldap_compute_columns (GdaConnection *cnc, const gchar *attributes,
 		}
 		col = gda_column_new ();
 		gda_column_set_name (col, sub [0]);
+		gda_column_set_description (col, sub [0]);
 		g_hash_table_insert (colnames, g_strdup (sub [0]), (gpointer) 0x01);
 		gda_column_set_g_type (col, coltype);
 		gda_column_set_allow_null (col, TRUE);



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