[libgda] gda-postgres-provider: Avoid an unused variable warning.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] gda-postgres-provider: Avoid an unused variable warning.
- Date: Thu, 30 Apr 2015 07:44:08 +0000 (UTC)
commit 8cc8d7b7b94212a131f112c888795ab9143b7fd5
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 30 09:43:36 2015 +0200
gda-postgres-provider: Avoid an unused variable warning.
providers/postgres/gda-postgres-provider.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index eeab7b4..65c1500 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -245,16 +245,16 @@ gda_postgres_provider_class_init (GdaPostgresProviderClass *klass)
parent_class = g_type_class_peek_parent (klass);
/* set virtual functions */
- gda_server_provider_set_impl_functions (GDA_SERVER_PROVIDER_CLASS (klass),
+ gda_server_provider_set_impl_functions (provider_class,
GDA_SERVER_PROVIDER_FUNCTIONS_BASE,
(gpointer) &postgres_base_functions);
GdaProviderReuseableOperations *ops;
ops = _gda_postgres_reuseable_get_ops ();
- gda_server_provider_set_impl_functions (GDA_SERVER_PROVIDER_CLASS (klass),
+ gda_server_provider_set_impl_functions (provider_class,
GDA_SERVER_PROVIDER_FUNCTIONS_META,
(gpointer) &(ops->re_meta_funcs));
- gda_server_provider_set_impl_functions (GDA_SERVER_PROVIDER_CLASS (klass),
+ gda_server_provider_set_impl_functions (provider_class,
GDA_SERVER_PROVIDER_FUNCTIONS_XA,
(gpointer) &postgres_xa_functions);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]