[libgda] server-operation: removed from gda-decl.h
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] server-operation: removed from gda-decl.h
- Date: Wed, 12 Sep 2018 11:54:16 +0000 (UTC)
commit f27283fe148d545fd32eed51779dec1379e7e768
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Sep 3 17:32:54 2018 -0500
server-operation: removed from gda-decl.h
libgda/gda-decl.h | 4 ----
libgda/gda-server-operation.c | 5 ++---
2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/libgda/gda-decl.h b/libgda/gda-decl.h
index 2cd36796c..3c4c780ec 100644
--- a/libgda/gda-decl.h
+++ b/libgda/gda-decl.h
@@ -43,10 +43,6 @@ typedef struct _GdaServerProviderClass GdaServerProviderClass;
typedef struct _GdaServerProviderPrivate GdaServerProviderPrivate;
typedef struct _GdaServerProviderInfo GdaServerProviderInfo;
-typedef struct _GdaServerOperation GdaServerOperation;
-typedef struct _GdaServerOperationClass GdaServerOperationClass;
-typedef struct _GdaServerOperationPrivate GdaServerOperationPrivate;
-
typedef struct _GdaDataModelIface GdaDataModelIface;
typedef struct _GdaDataModel GdaDataModel;
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index 167436034..cfe32a377 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -33,7 +33,6 @@
#include <libgda/gda-server-operation.h>
#include <libgda/gda-set.h>
#include <libgda/gda-holder.h>
-#include <libgda/gda-connection.h>
#include <libgda/gda-config.h>
#include <libgda/gda-data-model-private.h>
#include <libgda/gda-data-model-import.h>
@@ -48,7 +47,7 @@
extern gchar *gda_lang_locale;
-struct _GdaServerOperationPrivate {
+typedef struct {
GdaServerOperationType op_type;
gboolean cnc_set;
GdaConnection *cnc;
@@ -61,7 +60,7 @@ struct _GdaServerOperationPrivate {
GSList *allnodes; /* list of all the Node structures, referenced here only */
GSList *topnodes; /* list of the "/(*)" named nodes, not referenced here */
GHashTable *info_hash; /* key = path, value = a GdaServerOperationNode */
-};
+} GdaServerOperationPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (GdaServerOperation, gda_server_operation, G_TYPE_OBJECT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]