[libgda/LIBGDA_4.2] Misc. corrections



commit 690554a84b946482cdb6ef5234e87777126d007c
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 1e001c2..d571035 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -2018,7 +2018,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 a4ff290..9b1d20f 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]