diff --git a/libgda-ui/libgdaui-5.0.deps b/libgda-ui/libgdaui-5.0.deps index 75c32de..79f8849 100644 --- a/libgda-ui/libgdaui-5.0.deps +++ b/libgda-ui/libgdaui-5.0.deps @@ -1,5 +1,3 @@ -glib-2.0 gobject-2.0 -libxml-2.0 -libgda-ui-5.0 -gtk+-3.0 \ No newline at end of file +gtk+-3.0 +libgda-5.0 diff --git a/libgda/gda-data-model-ldap.c b/libgda/gda-data-model-ldap.c index 15a098f..d30adc8 100644 --- a/libgda/gda-data-model-ldap.c +++ b/libgda/gda-data-model-ldap.c @@ -32,7 +32,8 @@ enum { PROP_BASE, PROP_FILTER, PROP_ATTRIBUTES, - PROP_SCOPE + PROP_SCOPE, + PROP_USE_RDN }; static void @@ -85,6 +86,10 @@ dummy_gda_data_model_ldap_class_init (GdaDataModelLdapClass *klass) GDA_LDAP_SEARCH_BASE, G_PARAM_WRITABLE | G_PARAM_READABLE | G_PARAM_CONSTRUCT_ONLY)); + + g_object_class_install_property (object_class, PROP_USE_RDN, + g_param_spec_boolean ("use-rdn", NULL, "Return Relative DN instead of complete DN", + FALSE, G_PARAM_WRITABLE | G_PARAM_READABLE)); } static void @@ -198,7 +203,7 @@ gda_data_model_ldap_get_type (void) * In case of multi valued attributes, an error will be returned when trying to read the attribute: * gda_data_model_iter_get_value_at() will return %NULL when using an iterator. * - * Returns: (transfer full): a new #GdaDataModel + * Returns: (transfer full) (type GdaDataModelLdap): a new #GdaDataModel * * Deprecated: 5.2: use #gda_data_model_ldap_new_with_config * diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c index 4b6179c..3084b11 100644 --- a/libgda/gda-data-proxy.c +++ b/libgda/gda-data-proxy.c @@ -1445,7 +1445,7 @@ find_or_create_row_modif (GdaDataProxy *proxy, gint proxy_row, gint col, RowValu * gda_data_proxy_get_values: * @proxy: a #GdaDataProxy object * @proxy_row: a proxy row - * @cols_index: (array) (array length=n_cols): array containing the columns for which the values are requested + * @cols_index: (array length=n_cols): array containing the columns for which the values are requested * @n_cols: size of @cols_index * * Retrieve a whole list of values from the @proxy data model. This function diff --git a/libgda/libgda-5.0.deps b/libgda/libgda-5.0.deps index b6ff23e..9393038 100644 --- a/libgda/libgda-5.0.deps +++ b/libgda/libgda-5.0.deps @@ -1,3 +1,2 @@ -glib-2.0 gobject-2.0 -libxml-2.0 \ No newline at end of file +libxml-2.0 diff --git a/providers/ldap/gdaprov-data-model-ldap.c b/providers/ldap/gdaprov-data-model-ldap.c index 4bcd407..8883e0a 100644 --- a/providers/ldap/gdaprov-data-model-ldap.c +++ b/providers/ldap/gdaprov-data-model-ldap.c @@ -235,7 +235,7 @@ gda_data_model_ldap_class_init (GdaDataModelLdapClass *klass) object_class->get_property = gda_data_model_ldap_get_property; g_object_class_install_property (object_class, PROP_CNC, g_param_spec_object ("cnc", NULL, "LDAP connection", - GDA_TYPE_LDAP_CONNECTION, + GDA_TYPE_CONNECTION, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (object_class, PROP_BASE,