[libgda] server-provider: removed private defintion from gda-decl.h



commit ea0f06f589a153f47f2cc72667f7582538870363
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Sep 6 17:34:11 2018 -0500

    server-provider: removed private defintion from gda-decl.h

 libgda/gda-decl.h            | 1 -
 libgda/gda-server-provider.c | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libgda/gda-decl.h b/libgda/gda-decl.h
index 8fec17415..616e07765 100644
--- a/libgda/gda-decl.h
+++ b/libgda/gda-decl.h
@@ -38,7 +38,6 @@ typedef struct _GdaDataHandlerIface GdaDataHandlerIface;
 
 typedef struct _GdaServerProvider        GdaServerProvider; 
 typedef struct _GdaServerProviderClass   GdaServerProviderClass;
-typedef struct _GdaServerProviderPrivate GdaServerProviderPrivate;
 typedef struct _GdaServerProviderInfo    GdaServerProviderInfo;
 
 typedef struct _GdaDataModelIface   GdaDataModelIface;
diff --git a/libgda/gda-server-provider.c b/libgda/gda-server-provider.c
index fdcfaf0dc..6ab462635 100644
--- a/libgda/gda-server-provider.c
+++ b/libgda/gda-server-provider.c
@@ -54,12 +54,12 @@
 /*
  * provider's private information
  */
-struct _GdaServerProviderPrivate {
+typedef struct {
        GHashTable    *data_handlers; /* key = a GdaServerProviderHandlerInfo pointer, value = a 
GdaDataHandler */
        GdaSqlParser  *parser;
 
        GHashTable    *jobs_hash; /* key = a job ID, value = a # */
-};
+} GdaServerProviderPrivate;
 
 G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE(GdaServerProvider, gda_server_provider, G_TYPE_OBJECT)
 


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