[libgda] Fix missing field initializer warnings
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Fix missing field initializer warnings
- Date: Sat, 2 Oct 2010 12:12:04 +0000 (UTC)
commit 9274bb30ff5bfdbb4de9b8dbe729b4e65f3681a7
Author: David King <davidk openismus com>
Date: Fri Oct 1 15:14:56 2010 +0200
Fix missing field initializer warnings
Initialize all fields in structs, to avoid warnings when
-Wmissing-field-intializers is used with GCC. Warnings from initializing
a GStaticRecMutex with G_STATIC_REC_MUTEX_INIT require GLib to be fixed.
control-center/cc-gray-bar.c | 3 +-
control-center/gdaui-dsn-assistant.c | 3 +-
control-center/gdaui-dsn-editor.c | 3 +-
control-center/gdaui-login-dialog.c | 3 +-
.../DocBook/gda-report-docbook-document.c | 3 +-
libgda-report/RML/gda-report-rml-document.c | 3 +-
libgda-report/engine/gda-report-engine.c | 3 +-
libgda-report/gda-report-document.c | 3 +-
.../data-entries/gdaui-data-cell-renderer-bin.c | 1 +
.../gdaui-data-cell-renderer-boolean.c | 1 +
.../data-entries/gdaui-data-cell-renderer-combo.c | 1 +
.../data-entries/gdaui-data-cell-renderer-info.c | 1 +
.../gdaui-data-cell-renderer-textual.c | 1 +
libgda-ui/data-entries/gdaui-entry-bin.c | 3 +-
libgda-ui/data-entries/gdaui-entry-boolean.c | 3 +-
libgda-ui/data-entries/gdaui-entry-combo.c | 3 +-
libgda-ui/data-entries/gdaui-entry-common-time.c | 5 ++-
libgda-ui/data-entries/gdaui-entry-date.c | 3 +-
libgda-ui/data-entries/gdaui-entry-none.c | 3 +-
libgda-ui/data-entries/gdaui-entry-number.c | 3 +-
libgda-ui/data-entries/gdaui-entry-shell.c | 3 +-
libgda-ui/data-entries/gdaui-entry-string.c | 3 +-
libgda-ui/data-entries/gdaui-entry-time.c | 3 +-
libgda-ui/data-entries/gdaui-entry-timestamp.c | 3 +-
libgda-ui/data-entries/gdaui-entry-wrapper.c | 3 +-
libgda-ui/data-entries/gdaui-entry.c | 1 +
libgda-ui/data-entries/gdaui-formatted-entry.c | 1 +
libgda-ui/data-entries/gdaui-numeric-entry.c | 1 +
.../plugins/gdaui-data-cell-renderer-password.c | 1 +
.../plugins/gdaui-data-cell-renderer-pict.c | 1 +
libgda-ui/data-entries/plugins/gdaui-entry-cidr.c | 3 +-
.../data-entries/plugins/gdaui-entry-filesel.c | 3 +-
.../data-entries/plugins/gdaui-entry-password.c | 3 +-
libgda-ui/data-entries/plugins/gdaui-entry-pict.c | 3 +-
libgda-ui/data-entries/plugins/gdaui-entry-text.c | 3 +-
libgda-ui/gdaui-basic-form.c | 3 +-
libgda-ui/gdaui-cloud.c | 3 +-
libgda-ui/gdaui-combo.c | 3 +-
libgda-ui/gdaui-data-entry.c | 3 +-
libgda-ui/gdaui-data-filter.c | 3 +-
libgda-ui/gdaui-data-proxy-info.c | 3 +-
libgda-ui/gdaui-data-proxy.c | 3 +-
libgda-ui/gdaui-data-selector.c | 3 +-
libgda-ui/gdaui-data-store.c | 3 +-
libgda-ui/gdaui-form.c | 3 +-
libgda-ui/gdaui-login.c | 3 +-
libgda-ui/gdaui-provider-selector.c | 3 +-
libgda-ui/gdaui-raw-form.c | 3 +-
libgda-ui/gdaui-raw-grid.c | 3 +-
libgda-ui/gdaui-server-operation.c | 3 +-
libgda-ui/gdaui-set.c | 3 +-
libgda-ui/gdaui-tree-store.c | 3 +-
libgda-ui/internal/gdaui-dsn-selector.c | 3 +-
libgda-ui/internal/gdaui-provider-auth-editor.c | 3 +-
libgda-ui/internal/gdaui-provider-spec-editor.c | 3 +-
libgda-ui/internal/popup-container.c | 3 +-
libgda/dir-blob-op.c | 3 +-
libgda/gda-batch.c | 3 +-
libgda/gda-blob-op.c | 3 +-
libgda/gda-column.c | 3 +-
libgda/gda-config.c | 3 +-
libgda/gda-connection-event.c | 3 +-
libgda/gda-connection.c | 3 +-
libgda/gda-data-access-wrapper.c | 3 +-
libgda/gda-data-comparator.c | 3 +-
libgda/gda-data-handler.c | 3 +-
libgda/gda-data-meta-wrapper.c | 3 +-
libgda/gda-data-model-array.c | 3 +-
libgda/gda-data-model-bdb.c | 3 +-
libgda/gda-data-model-dir.c | 3 +-
libgda/gda-data-model-dsn-list.c | 3 +-
libgda/gda-data-model-import.c | 3 +-
libgda/gda-data-model-iter.c | 3 +-
libgda/gda-data-model.c | 3 +-
libgda/gda-data-proxy.c | 3 +-
libgda/gda-data-select.c | 3 +-
libgda/gda-holder.c | 3 +-
libgda/gda-lockable.c | 3 +-
libgda/gda-meta-store.c | 3 +-
libgda/gda-meta-struct.c | 3 +-
libgda/gda-row.c | 3 +-
libgda/gda-server-operation.c | 3 +-
libgda/gda-server-provider.c | 31 ++++++++++---------
libgda/gda-set.c | 3 +-
libgda/gda-sql-builder.c | 3 +-
libgda/gda-statement.c | 3 +-
libgda/gda-transaction-status.c | 3 +-
libgda/gda-tree-manager.c | 3 +-
libgda/gda-tree-mgr-columns.c | 3 +-
libgda/gda-tree-mgr-label.c | 3 +-
libgda/gda-tree-mgr-schemas.c | 3 +-
libgda/gda-tree-mgr-select.c | 3 +-
libgda/gda-tree-mgr-tables.c | 3 +-
libgda/gda-tree-node.c | 3 +-
libgda/gda-tree.c | 3 +-
libgda/gda-xa-transaction.c | 3 +-
libgda/handlers/gda-handler-bin.c | 3 +-
libgda/handlers/gda-handler-boolean.c | 3 +-
libgda/handlers/gda-handler-numerical.c | 3 +-
libgda/handlers/gda-handler-string.c | 3 +-
libgda/handlers/gda-handler-time.c | 3 +-
libgda/handlers/gda-handler-type.c | 3 +-
libgda/providers-support/gda-pstmt.c | 3 +-
libgda/sql-parser/gda-sql-parser.c | 3 +-
libgda/sql-parser/gda-statement-struct-compound.c | 4 ++
libgda/sql-parser/gda-statement-struct-delete.c | 4 ++
libgda/sql-parser/gda-statement-struct-insert.c | 4 ++
libgda/sql-parser/gda-statement-struct-select.c | 6 +++-
libgda/sql-parser/gda-statement-struct-trans.c | 29 ++++++++++++++++++
libgda/sql-parser/gda-statement-struct-unknown.c | 4 ++
libgda/sql-parser/gda-statement-struct-update.c | 4 ++
libgda/sqlite/gda-sqlite-blob-op.c | 3 +-
libgda/sqlite/gda-sqlite-handler-bin.c | 3 +-
libgda/sqlite/gda-sqlite-handler-boolean.c | 3 +-
libgda/sqlite/gda-sqlite-provider.c | 3 +-
libgda/sqlite/gda-sqlite-pstmt.c | 3 +-
libgda/sqlite/gda-sqlite-recordset.c | 3 +-
libgda/sqlite/virtual/gda-vconnection-data-model.c | 3 +-
libgda/sqlite/virtual/gda-vconnection-hub.c | 3 +-
libgda/sqlite/virtual/gda-virtual-connection.c | 3 +-
libgda/sqlite/virtual/gda-virtual-provider.c | 3 +-
libgda/sqlite/virtual/gda-vprovider-data-model.c | 3 +-
libgda/sqlite/virtual/gda-vprovider-hub.c | 3 +-
libgda/thread-wrapper/gda-thread-blob-op.c | 3 +-
libgda/thread-wrapper/gda-thread-provider.c | 3 +-
libgda/thread-wrapper/gda-thread-recordset.c | 3 +-
libgda/thread-wrapper/gda-thread-wrapper.c | 3 +-
providers/bdb/gda-bdb-provider.c | 3 +-
providers/jdbc/gda-jdbc-blob-op.c | 3 +-
providers/jdbc/gda-jdbc-provider.c | 3 +-
providers/jdbc/gda-jdbc-pstmt.c | 3 +-
providers/jdbc/gda-jdbc-recordset.c | 3 +-
providers/postgres/gda-postgres-blob-op.c | 3 +-
providers/postgres/gda-postgres-handler-bin.c | 3 +-
providers/postgres/gda-postgres-provider.c | 3 +-
providers/postgres/gda-postgres-pstmt.c | 3 +-
providers/postgres/gda-postgres-recordset.c | 3 +-
providers/reuseable/mysql/gda-mysql-meta.c | 4 +-
providers/reuseable/mysql/gda-mysql-parser.c | 3 +-
providers/reuseable/postgres/gda-postgres-parser.c | 3 +-
.../skel-implementation/capi/gda-capi-blob-op.c | 3 +-
.../skel-implementation/capi/gda-capi-parser.c | 3 +-
.../skel-implementation/capi/gda-capi-provider.c | 3 +-
.../skel-implementation/capi/gda-capi-pstmt.c | 3 +-
.../skel-implementation/capi/gda-capi-recordset.c | 3 +-
.../models/gda-models-provider.c | 3 +-
providers/web/gda-web-blob-op.c | 3 +-
providers/web/gda-web-provider.c | 3 +-
providers/web/gda-web-pstmt.c | 3 +-
providers/web/gda-web-recordset.c | 3 +-
testing/gda-provider-status.c | 2 +-
testing/gda-test-blob.c | 2 +-
testing/gda-test-connection.c | 2 +-
testing/gdaui-test-data-entries.c | 2 +-
tests/data-model-errors.c | 3 +-
tests/gda-ddl-creator.c | 3 +-
tools/browser/auth-dialog.c | 3 +-
tools/browser/browser-connection.c | 3 +-
tools/browser/browser-connections-list.c | 3 +-
tools/browser/browser-core.c | 3 +-
tools/browser/browser-favorites.c | 3 +-
tools/browser/browser-page.c | 3 +-
tools/browser/browser-perspective.c | 3 +-
tools/browser/browser-variable.c | 3 +-
tools/browser/browser-virtual-connection.c | 3 +-
tools/browser/browser-window.c | 3 +-
tools/browser/canvas/browser-canvas-column.c | 3 +-
tools/browser/canvas/browser-canvas-db-relations.c | 3 +-
tools/browser/canvas/browser-canvas-fkey.c | 3 +-
tools/browser/canvas/browser-canvas-item.c | 3 +-
tools/browser/canvas/browser-canvas-table.c | 3 +-
tools/browser/canvas/browser-canvas-text.c | 3 +-
tools/browser/canvas/browser-canvas.c | 3 +-
tools/browser/common/gdaui-data-import.c | 3 +-
tools/browser/common/gdaui-entry-import.c | 3 +-
tools/browser/common/objects-cloud.c | 3 +-
tools/browser/common/ui-formgrid.c | 3 +-
tools/browser/connection-binding-properties.c | 3 +-
tools/browser/data-manager/data-console.c | 3 +-
.../browser/data-manager/data-favorite-selector.c | 3 +-
.../data-manager/data-manager-perspective.c | 3 +-
tools/browser/data-manager/data-source-editor.c | 3 +-
tools/browser/data-manager/data-source-manager.c | 3 +-
tools/browser/data-manager/data-source.c | 3 +-
tools/browser/data-manager/data-widget.c | 3 +-
tools/browser/data-manager/ui-spec-editor.c | 3 +-
tools/browser/data-manager/xml-spec-editor.c | 3 +-
.../browser/dummy-perspective/dummy-perspective.c | 3 +-
tools/browser/login-dialog.c | 3 +-
tools/browser/main.c | 2 +-
tools/browser/mgr-favorites.c | 3 +-
tools/browser/query-exec/query-console.c | 3 +-
tools/browser/query-exec/query-editor.c | 3 +-
tools/browser/query-exec/query-exec-perspective.c | 3 +-
tools/browser/query-exec/query-favorite-selector.c | 3 +-
tools/browser/query-exec/query-result.c | 3 +-
tools/browser/schema-browser/favorite-selector.c | 3 +-
tools/browser/schema-browser/mgr-columns.c | 3 +-
tools/browser/schema-browser/objects-index.c | 3 +-
tools/browser/schema-browser/relations-diagram.c | 3 +-
.../schema-browser/schema-browser-perspective.c | 3 +-
tools/browser/schema-browser/table-columns.c | 3 +-
tools/browser/schema-browser/table-info.c | 3 +-
tools/browser/schema-browser/table-preferences.c | 3 +-
tools/browser/schema-browser/table-relations.c | 3 +-
tools/gda-list-server-op.c | 2 +-
tools/gda-sql.c | 4 +-
tools/gda-threader.c | 3 +-
tools/web-server.c | 3 +-
209 files changed, 457 insertions(+), 210 deletions(-)
---
diff --git a/control-center/cc-gray-bar.c b/control-center/cc-gray-bar.c
index eaec48a..0997a25 100644
--- a/control-center/cc-gray-bar.c
+++ b/control-center/cc-gray-bar.c
@@ -420,7 +420,8 @@ cc_gray_bar_get_type (void)
NULL,
sizeof (CcGrayBar),
0,
- (GInstanceInitFunc) cc_gray_bar_init
+ (GInstanceInitFunc) cc_gray_bar_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_BIN, "CcGrayBar", &info, 0);
}
diff --git a/control-center/gdaui-dsn-assistant.c b/control-center/gdaui-dsn-assistant.c
index 82600a7..f4be97e 100644
--- a/control-center/gdaui-dsn-assistant.c
+++ b/control-center/gdaui-dsn-assistant.c
@@ -696,7 +696,8 @@ gdaui_dsn_assistant_get_type (void)
NULL,
sizeof (GdauiDsnAssistant),
0,
- (GInstanceInitFunc) gdaui_dsn_assistant_init
+ (GInstanceInitFunc) gdaui_dsn_assistant_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_ASSISTANT, "GdauiDsnAssistant",
&info, 0);
diff --git a/control-center/gdaui-dsn-editor.c b/control-center/gdaui-dsn-editor.c
index 4092dea..9ed69ec 100644
--- a/control-center/gdaui-dsn-editor.c
+++ b/control-center/gdaui-dsn-editor.c
@@ -272,7 +272,8 @@ gdaui_dsn_editor_get_type (void)
NULL,
sizeof (GdauiDsnEditor),
0,
- (GInstanceInitFunc) gdaui_dsn_editor_init
+ (GInstanceInitFunc) gdaui_dsn_editor_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "GdauiDsnEditor", &info, 0);
}
diff --git a/control-center/gdaui-login-dialog.c b/control-center/gdaui-login-dialog.c
index 89a3873..a4977b3 100644
--- a/control-center/gdaui-login-dialog.c
+++ b/control-center/gdaui-login-dialog.c
@@ -235,7 +235,8 @@ gdaui_login_dialog_get_type (void)
NULL,
sizeof (GdauiLoginDialog),
0,
- (GInstanceInitFunc) gdaui_login_dialog_init
+ (GInstanceInitFunc) gdaui_login_dialog_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_DIALOG, "GdauiLoginDialog", &info, 0);
}
diff --git a/libgda-report/DocBook/gda-report-docbook-document.c b/libgda-report/DocBook/gda-report-docbook-document.c
index bf800d2..9457843 100644
--- a/libgda-report/DocBook/gda-report-docbook-document.c
+++ b/libgda-report/DocBook/gda-report-docbook-document.c
@@ -147,7 +147,8 @@ gda_report_docbook_document_get_type (void)
NULL, NULL,
sizeof (GdaReportDocbookDocument),
0,
- (GInstanceInitFunc) gda_report_docbook_document_init
+ (GInstanceInitFunc) gda_report_docbook_document_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda-report/RML/gda-report-rml-document.c b/libgda-report/RML/gda-report-rml-document.c
index 53143b2..955731c 100644
--- a/libgda-report/RML/gda-report-rml-document.c
+++ b/libgda-report/RML/gda-report-rml-document.c
@@ -120,7 +120,8 @@ gda_report_rml_document_get_type (void)
NULL, NULL,
sizeof (GdaReportRmlDocument),
0,
- (GInstanceInitFunc) gda_report_rml_document_init
+ (GInstanceInitFunc) gda_report_rml_document_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda-report/engine/gda-report-engine.c b/libgda-report/engine/gda-report-engine.c
index 61b137e..dca9ecf 100644
--- a/libgda-report/engine/gda-report-engine.c
+++ b/libgda-report/engine/gda-report-engine.c
@@ -148,7 +148,8 @@ gda_report_engine_get_type (void)
NULL, NULL,
sizeof (GdaReportEngine),
0,
- (GInstanceInitFunc) gda_report_engine_init
+ (GInstanceInitFunc) gda_report_engine_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda-report/gda-report-document.c b/libgda-report/gda-report-document.c
index 701787d..e4c6065 100644
--- a/libgda-report/gda-report-document.c
+++ b/libgda-report/gda-report-document.c
@@ -130,7 +130,8 @@ gda_report_document_get_type (void)
NULL, NULL,
sizeof (GdaReportDocument),
0,
- (GInstanceInitFunc) gda_report_document_init
+ (GInstanceInitFunc) gda_report_document_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
index 7498818..088aaee 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-bin.c
@@ -112,6 +112,7 @@ gdaui_data_cell_renderer_bin_get_type (void)
sizeof (GdauiDataCellRendererBin),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_bin_init,
+ 0
};
cell_type =
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
index 153557b..af26411 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-boolean.c
@@ -110,6 +110,7 @@ gdaui_data_cell_renderer_boolean_get_type (void)
sizeof (GdauiDataCellRendererBoolean),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_boolean_init,
+ 0
};
cell_type =
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
index 80cb068..7f08a25 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-combo.c
@@ -117,6 +117,7 @@ gdaui_data_cell_renderer_combo_get_type (void)
sizeof (GdauiDataCellRendererCombo),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_combo_init,
+ 0
};
cell_text_type =
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
index b16662e..9943583 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-info.c
@@ -112,6 +112,7 @@ gdaui_data_cell_renderer_info_get_type (void)
sizeof (GdauiDataCellRendererInfo),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_info_init,
+ 0
};
cell_info_type =
diff --git a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
index b34ec59..182c0d0 100644
--- a/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
+++ b/libgda-ui/data-entries/gdaui-data-cell-renderer-textual.c
@@ -137,6 +137,7 @@ gdaui_data_cell_renderer_textual_get_type (void)
sizeof (GdauiDataCellRendererTextual),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_textual_init,
+ 0
};
cell_text_type =
diff --git a/libgda-ui/data-entries/gdaui-entry-bin.c b/libgda-ui/data-entries/gdaui-entry-bin.c
index 83cfa07..366a176 100644
--- a/libgda-ui/data-entries/gdaui-entry-bin.c
+++ b/libgda-ui/data-entries/gdaui-entry-bin.c
@@ -76,7 +76,8 @@ gdaui_entry_bin_get_type (void)
NULL,
sizeof (GdauiEntryBin),
0,
- (GInstanceInitFunc) gdaui_entry_bin_init
+ (GInstanceInitFunc) gdaui_entry_bin_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryBin", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-boolean.c b/libgda-ui/data-entries/gdaui-entry-boolean.c
index 4731757..bbeb595 100644
--- a/libgda-ui/data-entries/gdaui-entry-boolean.c
+++ b/libgda-ui/data-entries/gdaui-entry-boolean.c
@@ -63,7 +63,8 @@ gdaui_entry_boolean_get_type (void)
NULL,
sizeof (GdauiEntryBoolean),
0,
- (GInstanceInitFunc) gdaui_entry_boolean_init
+ (GInstanceInitFunc) gdaui_entry_boolean_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryBoolean", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index 54f01aa..e0ce44e 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -111,7 +111,8 @@ gdaui_entry_combo_get_type (void)
NULL,
sizeof (GdauiEntryCombo),
0,
- (GInstanceInitFunc) gdaui_entry_combo_init
+ (GInstanceInitFunc) gdaui_entry_combo_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda-ui/data-entries/gdaui-entry-common-time.c b/libgda-ui/data-entries/gdaui-entry-common-time.c
index 702fc11..fc98a0e 100644
--- a/libgda-ui/data-entries/gdaui-entry-common-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-common-time.c
@@ -108,7 +108,8 @@ gdaui_entry_common_time_get_type (void)
NULL,
sizeof (GdauiEntryCommonTime),
0,
- (GInstanceInitFunc) gdaui_entry_common_time_init
+ (GInstanceInitFunc) gdaui_entry_common_time_init,
+ 0
};
static const GInterfaceInfo cell_editable_info = {
@@ -811,7 +812,7 @@ date_day_selected (GtkCalendar *calendar, GdauiEntryCommonTime *mgtim)
{
char buffer [256];
guint year, month, day;
- struct tm mtm = {0};
+ struct tm mtm = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
char *str_utf8;
gtk_calendar_get_date (calendar, &year, &month, &day);
diff --git a/libgda-ui/data-entries/gdaui-entry-date.c b/libgda-ui/data-entries/gdaui-entry-date.c
index d839104..1b3dee0 100644
--- a/libgda-ui/data-entries/gdaui-entry-date.c
+++ b/libgda-ui/data-entries/gdaui-entry-date.c
@@ -47,7 +47,8 @@ gdaui_entry_date_get_type (void)
NULL,
sizeof (GdauiEntryDate),
0,
- (GInstanceInitFunc) gdaui_entry_date_init
+ (GInstanceInitFunc) gdaui_entry_date_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_COMMON_TIME, "GdauiEntryDate", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-none.c b/libgda-ui/data-entries/gdaui-entry-none.c
index e5cf71c..76f6885 100644
--- a/libgda-ui/data-entries/gdaui-entry-none.c
+++ b/libgda-ui/data-entries/gdaui-entry-none.c
@@ -63,7 +63,8 @@ gdaui_entry_none_get_type (void)
NULL,
sizeof (GdauiEntryNone),
0,
- (GInstanceInitFunc) gdaui_entry_none_init
+ (GInstanceInitFunc) gdaui_entry_none_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryNone", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-number.c b/libgda-ui/data-entries/gdaui-entry-number.c
index 0940eba..a8ba097 100644
--- a/libgda-ui/data-entries/gdaui-entry-number.c
+++ b/libgda-ui/data-entries/gdaui-entry-number.c
@@ -103,7 +103,8 @@ gdaui_entry_number_get_type (void)
NULL,
sizeof (GdauiEntryNumber),
0,
- (GInstanceInitFunc) gdaui_entry_number_init
+ (GInstanceInitFunc) gdaui_entry_number_init,
+ 0
};
static const GInterfaceInfo cell_editable_info = {
diff --git a/libgda-ui/data-entries/gdaui-entry-shell.c b/libgda-ui/data-entries/gdaui-entry-shell.c
index 9ece73a..3b0940a 100644
--- a/libgda-ui/data-entries/gdaui-entry-shell.c
+++ b/libgda-ui/data-entries/gdaui-entry-shell.c
@@ -95,7 +95,8 @@ gdaui_entry_shell_get_type (void)
NULL,
sizeof (GdauiEntryShell),
0,
- (GInstanceInitFunc) gdaui_entry_shell_init
+ (GInstanceInitFunc) gdaui_entry_shell_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VIEWPORT, "GdauiEntryShell", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-string.c b/libgda-ui/data-entries/gdaui-entry-string.c
index d6d0d78..93d65f9 100644
--- a/libgda-ui/data-entries/gdaui-entry-string.c
+++ b/libgda-ui/data-entries/gdaui-entry-string.c
@@ -113,7 +113,8 @@ gdaui_entry_string_get_type (void)
NULL,
sizeof (GdauiEntryString),
0,
- (GInstanceInitFunc) gdaui_entry_string_init
+ (GInstanceInitFunc) gdaui_entry_string_init,
+ 0
};
static const GInterfaceInfo cell_editable_info = {
diff --git a/libgda-ui/data-entries/gdaui-entry-time.c b/libgda-ui/data-entries/gdaui-entry-time.c
index 5b74a02..9752f93 100644
--- a/libgda-ui/data-entries/gdaui-entry-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-time.c
@@ -47,7 +47,8 @@ gdaui_entry_time_get_type (void)
NULL,
sizeof (GdauiEntryTime),
0,
- (GInstanceInitFunc) gdaui_entry_time_init
+ (GInstanceInitFunc) gdaui_entry_time_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_COMMON_TIME, "GdauiEntryTime", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-timestamp.c b/libgda-ui/data-entries/gdaui-entry-timestamp.c
index 4c22e39..585baf0 100644
--- a/libgda-ui/data-entries/gdaui-entry-timestamp.c
+++ b/libgda-ui/data-entries/gdaui-entry-timestamp.c
@@ -47,7 +47,8 @@ gdaui_entry_timestamp_get_type (void)
NULL,
sizeof (GdauiEntryTimestamp),
0,
- (GInstanceInitFunc) gdaui_entry_timestamp_init
+ (GInstanceInitFunc) gdaui_entry_timestamp_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_COMMON_TIME, "GdauiEntryTimestamp", &info, 0);
diff --git a/libgda-ui/data-entries/gdaui-entry-wrapper.c b/libgda-ui/data-entries/gdaui-entry-wrapper.c
index 338a942..4d9ed81 100644
--- a/libgda-ui/data-entries/gdaui-entry-wrapper.c
+++ b/libgda-ui/data-entries/gdaui-entry-wrapper.c
@@ -105,7 +105,8 @@ gdaui_entry_wrapper_get_type (void)
NULL,
sizeof (GdauiEntryWrapper),
0,
- (GInstanceInitFunc) gdaui_entry_wrapper_init
+ (GInstanceInitFunc) gdaui_entry_wrapper_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda-ui/data-entries/gdaui-entry.c b/libgda-ui/data-entries/gdaui-entry.c
index cd12afe..1482fb6 100644
--- a/libgda-ui/data-entries/gdaui-entry.c
+++ b/libgda-ui/data-entries/gdaui-entry.c
@@ -103,6 +103,7 @@ gdaui_entry_get_type (void)
sizeof (GdauiEntry),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_entry_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_ENTRY, "GdauiEntry", &type_info, 0);
diff --git a/libgda-ui/data-entries/gdaui-formatted-entry.c b/libgda-ui/data-entries/gdaui-formatted-entry.c
index 6cbff98..e88132f 100644
--- a/libgda-ui/data-entries/gdaui-formatted-entry.c
+++ b/libgda-ui/data-entries/gdaui-formatted-entry.c
@@ -76,6 +76,7 @@ gdaui_formatted_entry_get_type (void)
sizeof (GdauiFormattedEntry),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_formatted_entry_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY, "GdauiFormattedEntry", &type_info, 0);
diff --git a/libgda-ui/data-entries/gdaui-numeric-entry.c b/libgda-ui/data-entries/gdaui-numeric-entry.c
index 7360b16..cf8cb04 100644
--- a/libgda-ui/data-entries/gdaui-numeric-entry.c
+++ b/libgda-ui/data-entries/gdaui-numeric-entry.c
@@ -90,6 +90,7 @@ gdaui_numeric_entry_get_type (void)
sizeof (GdauiNumericEntry),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_numeric_entry_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY, "GdauiNumericEntry", &type_info, 0);
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
index 013fe4d..18d3e72 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-password.c
@@ -119,6 +119,7 @@ gdaui_data_cell_renderer_password_get_type (void)
sizeof (GdauiDataCellRendererPassword),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_password_init,
+ 0
};
cell_text_type =
diff --git a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
index ff6a280..1493f4b 100644
--- a/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-data-cell-renderer-pict.c
@@ -115,6 +115,7 @@ gdaui_data_cell_renderer_pict_get_type (void)
sizeof (GdauiDataCellRendererPict),
0, /* n_preallocs */
(GInstanceInitFunc) gdaui_data_cell_renderer_pict_init,
+ 0
};
cell_type = g_type_register_static (GTK_TYPE_CELL_RENDERER_PIXBUF, "GdauiDataCellRendererPict",
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c b/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
index 7e6c5f8..db4c8d0 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-cidr.c
@@ -80,7 +80,8 @@ gdaui_entry_cidr_get_type (void)
NULL,
sizeof (GdauiEntryCidr),
0,
- (GInstanceInitFunc) gdaui_entry_cidr_init
+ (GInstanceInitFunc) gdaui_entry_cidr_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryCidr", &info, 0);
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
index 3a5f7b2..e7ca003 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
@@ -64,7 +64,8 @@ gdaui_entry_filesel_get_type (void)
NULL,
sizeof (GdauiEntryFilesel),
0,
- (GInstanceInitFunc) gdaui_entry_filesel_init
+ (GInstanceInitFunc) gdaui_entry_filesel_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryFilesel", &info, 0);
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-password.c b/libgda-ui/data-entries/plugins/gdaui-entry-password.c
index 6ef7e46..2a0b9db 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-password.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-password.c
@@ -73,7 +73,8 @@ gdaui_entry_password_get_type (void)
NULL,
sizeof (GdauiEntryPassword),
0,
- (GInstanceInitFunc) gdaui_entry_password_init
+ (GInstanceInitFunc) gdaui_entry_password_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryPassword", &info, 0);
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-pict.c b/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
index 2af6509..396dbde 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-pict.c
@@ -83,7 +83,8 @@ gdaui_entry_pict_get_type (void)
NULL,
sizeof (GdauiEntryPict),
0,
- (GInstanceInitFunc) gdaui_entry_pict_init
+ (GInstanceInitFunc) gdaui_entry_pict_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryPict", &info, 0);
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-text.c b/libgda-ui/data-entries/plugins/gdaui-entry-text.c
index 418f996..932becf 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-text.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-text.c
@@ -81,7 +81,8 @@ gdaui_entry_text_get_type (void)
NULL,
sizeof (GdauiEntryText),
0,
- (GInstanceInitFunc) gdaui_entry_text_init
+ (GInstanceInitFunc) gdaui_entry_text_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryText", &info, 0);
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index 95c7044..032ffcd 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -184,7 +184,8 @@ gdaui_basic_form_get_type (void)
NULL,
sizeof (GdauiBasicForm),
0,
- (GInstanceInitFunc) gdaui_basic_form_init
+ (GInstanceInitFunc) gdaui_basic_form_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "GdauiBasicForm", &info, 0);
diff --git a/libgda-ui/gdaui-cloud.c b/libgda-ui/gdaui-cloud.c
index dbbe4ed..f822a54 100644
--- a/libgda-ui/gdaui-cloud.c
+++ b/libgda-ui/gdaui-cloud.c
@@ -104,7 +104,8 @@ gdaui_cloud_get_type (void)
NULL,
sizeof (GdauiCloud),
0,
- (GInstanceInitFunc) gdaui_cloud_init
+ (GInstanceInitFunc) gdaui_cloud_init,
+ 0
};
static const GInterfaceInfo selector_info = {
diff --git a/libgda-ui/gdaui-combo.c b/libgda-ui/gdaui-combo.c
index 87cff15..4e4bad1 100644
--- a/libgda-ui/gdaui-combo.c
+++ b/libgda-ui/gdaui-combo.c
@@ -96,7 +96,8 @@ gdaui_combo_get_type (void)
NULL,
sizeof (GdauiCombo),
0,
- (GInstanceInitFunc) gdaui_combo_init
+ (GInstanceInitFunc) gdaui_combo_init,
+ 0
};
static const GInterfaceInfo selector_info = {
diff --git a/libgda-ui/gdaui-data-entry.c b/libgda-ui/gdaui-data-entry.c
index 79b5e29..75e5ee0 100644
--- a/libgda-ui/gdaui-data-entry.c
+++ b/libgda-ui/gdaui-data-entry.c
@@ -49,7 +49,8 @@ gdaui_data_entry_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
type = g_type_register_static (G_TYPE_INTERFACE, "GdauiDataEntry", &info, 0);
diff --git a/libgda-ui/gdaui-data-filter.c b/libgda-ui/gdaui-data-filter.c
index 9367415..31041f1 100644
--- a/libgda-ui/gdaui-data-filter.c
+++ b/libgda-ui/gdaui-data-filter.c
@@ -81,7 +81,8 @@ gdaui_data_filter_get_type (void)
NULL,
sizeof (GdauiDataFilter),
0,
- (GInstanceInitFunc) gdaui_data_filter_init
+ (GInstanceInitFunc) gdaui_data_filter_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "GdauiDataFilter", &filter, 0);
diff --git a/libgda-ui/gdaui-data-proxy-info.c b/libgda-ui/gdaui-data-proxy-info.c
index 9406446..08e83e0 100644
--- a/libgda-ui/gdaui-data-proxy-info.c
+++ b/libgda-ui/gdaui-data-proxy-info.c
@@ -91,7 +91,8 @@ gdaui_data_proxy_info_get_type (void)
NULL,
sizeof (GdauiDataProxyInfo),
0,
- (GInstanceInitFunc) gdaui_data_proxy_info_init
+ (GInstanceInitFunc) gdaui_data_proxy_info_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_HBOX, "GdauiDataProxyInfo", &info, 0);
diff --git a/libgda-ui/gdaui-data-proxy.c b/libgda-ui/gdaui-data-proxy.c
index 82c4a68..40f3163 100644
--- a/libgda-ui/gdaui-data-proxy.c
+++ b/libgda-ui/gdaui-data-proxy.c
@@ -51,7 +51,8 @@ gdaui_data_proxy_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
type = g_type_register_static (G_TYPE_INTERFACE, "GdauiDataProxy", &info, 0);
diff --git a/libgda-ui/gdaui-data-selector.c b/libgda-ui/gdaui-data-selector.c
index 3156c03..29223a5 100644
--- a/libgda-ui/gdaui-data-selector.c
+++ b/libgda-ui/gdaui-data-selector.c
@@ -51,7 +51,8 @@ gdaui_data_selector_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
type = g_type_register_static (G_TYPE_INTERFACE, "GdauiDataSelector", &info, 0);
diff --git a/libgda-ui/gdaui-data-store.c b/libgda-ui/gdaui-data-store.c
index b032b42..13e0caa 100644
--- a/libgda-ui/gdaui-data-store.c
+++ b/libgda-ui/gdaui-data-store.c
@@ -85,7 +85,8 @@ gdaui_data_store_get_type (void)
NULL,
sizeof (GdauiDataStore),
0,
- (GInstanceInitFunc) gdaui_data_store_init
+ (GInstanceInitFunc) gdaui_data_store_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda-ui/gdaui-form.c b/libgda-ui/gdaui-form.c
index 3eacbb4..c78b50a 100644
--- a/libgda-ui/gdaui-form.c
+++ b/libgda-ui/gdaui-form.c
@@ -92,7 +92,8 @@ gdaui_form_get_type (void)
NULL,
sizeof (GdauiForm),
0,
- (GInstanceInitFunc) gdaui_form_init
+ (GInstanceInitFunc) gdaui_form_init,
+ 0
};
static const GInterfaceInfo proxy_info = {
diff --git a/libgda-ui/gdaui-login.c b/libgda-ui/gdaui-login.c
index 04a6aba..2523a6c 100644
--- a/libgda-ui/gdaui-login.c
+++ b/libgda-ui/gdaui-login.c
@@ -324,7 +324,8 @@ gdaui_login_get_type (void)
NULL,
sizeof (GdauiLogin),
0,
- (GInstanceInitFunc) gdaui_login_init
+ (GInstanceInitFunc) gdaui_login_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "GdauiLogin", &info, 0);
}
diff --git a/libgda-ui/gdaui-provider-selector.c b/libgda-ui/gdaui-provider-selector.c
index c9b82a4..38c2c01 100644
--- a/libgda-ui/gdaui-provider-selector.c
+++ b/libgda-ui/gdaui-provider-selector.c
@@ -114,7 +114,8 @@ gdaui_provider_selector_get_type (void)
NULL,
sizeof (GdauiProviderSelector),
0,
- (GInstanceInitFunc) gdaui_provider_selector_init
+ (GInstanceInitFunc) gdaui_provider_selector_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_COMBO, "GdauiProviderSelector", &info, 0);
}
diff --git a/libgda-ui/gdaui-raw-form.c b/libgda-ui/gdaui-raw-form.c
index de49fef..9c8b201 100644
--- a/libgda-ui/gdaui-raw-form.c
+++ b/libgda-ui/gdaui-raw-form.c
@@ -110,7 +110,8 @@ gdaui_raw_form_get_type (void)
NULL,
sizeof (GdauiRawForm),
0,
- (GInstanceInitFunc) gdaui_raw_form_init
+ (GInstanceInitFunc) gdaui_raw_form_init,
+ 0
};
static const GInterfaceInfo proxy_info = {
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 3b81c81..e37ad42 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -207,7 +207,8 @@ gdaui_raw_grid_get_type (void)
NULL,
sizeof (GdauiRawGrid),
0,
- (GInstanceInitFunc) gdaui_raw_grid_init
+ (GInstanceInitFunc) gdaui_raw_grid_init,
+ 0
};
static const GInterfaceInfo proxy_info = {
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 0ef778d..42ead07 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -170,7 +170,8 @@ gdaui_server_operation_get_type (void)
NULL,
sizeof (GdauiServerOperation),
0,
- (GInstanceInitFunc) gdaui_server_operation_init
+ (GInstanceInitFunc) gdaui_server_operation_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "GdauiServerOperation", &info, 0);
diff --git a/libgda-ui/gdaui-set.c b/libgda-ui/gdaui-set.c
index b080b31..b5ea72f 100644
--- a/libgda-ui/gdaui-set.c
+++ b/libgda-ui/gdaui-set.c
@@ -83,7 +83,8 @@ _gdaui_set_get_type (void)
NULL,
sizeof (GdauiSet),
0,
- (GInstanceInitFunc) gdaui_set_init
+ (GInstanceInitFunc) gdaui_set_init,
+ 0
};
type = g_type_register_static (G_TYPE_OBJECT, "GdauiSet", &info, 0);
diff --git a/libgda-ui/gdaui-tree-store.c b/libgda-ui/gdaui-tree-store.c
index dbac103..7c2ff3e 100644
--- a/libgda-ui/gdaui-tree-store.c
+++ b/libgda-ui/gdaui-tree-store.c
@@ -141,7 +141,8 @@ gdaui_tree_store_get_type (void)
NULL,
sizeof (GdauiTreeStore),
0,
- (GInstanceInitFunc) gdaui_tree_store_init
+ (GInstanceInitFunc) gdaui_tree_store_init,
+ 0
};
static const GInterfaceInfo tree_model_info = {
diff --git a/libgda-ui/internal/gdaui-dsn-selector.c b/libgda-ui/internal/gdaui-dsn-selector.c
index f5905e6..3753b90 100644
--- a/libgda-ui/internal/gdaui-dsn-selector.c
+++ b/libgda-ui/internal/gdaui-dsn-selector.c
@@ -164,7 +164,8 @@ _gdaui_dsn_selector_get_type (void)
NULL,
sizeof (GdauiDsnSelector),
0,
- (GInstanceInitFunc) gdaui_dsn_selector_init
+ (GInstanceInitFunc) gdaui_dsn_selector_init,
+ 0
};
type = g_type_from_name ("GdauiDsnSelector");
if (type == 0)
diff --git a/libgda-ui/internal/gdaui-provider-auth-editor.c b/libgda-ui/internal/gdaui-provider-auth-editor.c
index c805b48..4af2dee 100644
--- a/libgda-ui/internal/gdaui-provider-auth-editor.c
+++ b/libgda-ui/internal/gdaui-provider-auth-editor.c
@@ -190,7 +190,8 @@ _gdaui_provider_auth_editor_get_type (void)
NULL,
sizeof (GdauiProviderAuthEditor),
0,
- (GInstanceInitFunc) gdaui_provider_auth_editor_init
+ (GInstanceInitFunc) gdaui_provider_auth_editor_init,
+ 0
};
type = g_type_from_name ("GdauiProviderAuthEditor");
if (type == 0)
diff --git a/libgda-ui/internal/gdaui-provider-spec-editor.c b/libgda-ui/internal/gdaui-provider-spec-editor.c
index 8792451..ed60fe3 100644
--- a/libgda-ui/internal/gdaui-provider-spec-editor.c
+++ b/libgda-ui/internal/gdaui-provider-spec-editor.c
@@ -328,7 +328,8 @@ _gdaui_provider_spec_editor_get_type (void)
NULL,
sizeof (GdauiProviderSpecEditor),
0,
- (GInstanceInitFunc) gdaui_provider_spec_editor_init
+ (GInstanceInitFunc) gdaui_provider_spec_editor_init,
+ 0
};
type = g_type_from_name ("GdauiProviderSpecEditor");
if (type == 0)
diff --git a/libgda-ui/internal/popup-container.c b/libgda-ui/internal/popup-container.c
index c88ef84..9673b0c 100644
--- a/libgda-ui/internal/popup-container.c
+++ b/libgda-ui/internal/popup-container.c
@@ -246,7 +246,8 @@ popup_container_get_type (void)
NULL,
sizeof (PopupContainer),
0,
- (GInstanceInitFunc) popup_container_init
+ (GInstanceInitFunc) popup_container_init,
+ 0
};
#ifdef PRIV_OBJ_PREFIX
type = g_type_register_static (GTK_TYPE_WINDOW, PRIV_OBJ_PREFIX "GdauiPopupContainer",
diff --git a/libgda/dir-blob-op.c b/libgda/dir-blob-op.c
index 21f6c3b..f04220e 100644
--- a/libgda/dir-blob-op.c
+++ b/libgda/dir-blob-op.c
@@ -63,7 +63,8 @@ gda_dir_blob_op_get_type (void)
NULL,
sizeof (GdaDirBlobOp),
0,
- (GInstanceInitFunc) gda_dir_blob_op_init
+ (GInstanceInitFunc) gda_dir_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/gda-batch.c b/libgda/gda-batch.c
index 5f9987c..b92f320 100644
--- a/libgda/gda-batch.c
+++ b/libgda/gda-batch.c
@@ -87,7 +87,8 @@ gda_batch_get_type (void)
NULL,
sizeof (GdaBatch),
0,
- (GInstanceInitFunc) gda_batch_init
+ (GInstanceInitFunc) gda_batch_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-blob-op.c b/libgda/gda-blob-op.c
index 29e39f2..fec120e 100644
--- a/libgda/gda-blob-op.c
+++ b/libgda/gda-blob-op.c
@@ -51,7 +51,8 @@ gda_blob_op_get_type (void)
NULL,
sizeof (GdaBlobOp),
0,
- (GInstanceInitFunc) gda_blob_op_init
+ (GInstanceInitFunc) gda_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-column.c b/libgda/gda-column.c
index e99097d..fbebf62 100644
--- a/libgda/gda-column.c
+++ b/libgda/gda-column.c
@@ -191,7 +191,8 @@ gda_column_get_type (void)
NULL,
sizeof (GdaColumn),
0,
- (GInstanceInitFunc) gda_column_init
+ (GInstanceInitFunc) gda_column_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/gda-config.c b/libgda/gda-config.c
index 2ea9df8..7f88f32 100644
--- a/libgda/gda-config.c
+++ b/libgda/gda-config.c
@@ -715,7 +715,8 @@ gda_config_get_type (void)
NULL, NULL,
sizeof (GdaConfig),
0,
- (GInstanceInitFunc) gda_config_init
+ (GInstanceInitFunc) gda_config_init,
+ 0
};
GDA_CONFIG_LOCK ();
if (type == 0)
diff --git a/libgda/gda-connection-event.c b/libgda/gda-connection-event.c
index c01d2d5..24a15e3 100644
--- a/libgda/gda-connection-event.c
+++ b/libgda/gda-connection-event.c
@@ -68,7 +68,8 @@ gda_connection_event_get_type (void)
NULL,
sizeof (GdaConnectionEvent),
0,
- (GInstanceInitFunc) gda_connection_event_init
+ (GInstanceInitFunc) gda_connection_event_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index bfd5999..794a9b4 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -582,7 +582,8 @@ gda_connection_get_type (void)
NULL, NULL,
sizeof (GdaConnection),
0,
- (GInstanceInitFunc) gda_connection_init
+ (GInstanceInitFunc) gda_connection_init,
+ 0
};
static GInterfaceInfo lockable_info = {
diff --git a/libgda/gda-data-access-wrapper.c b/libgda/gda-data-access-wrapper.c
index 0a28807..6a0fac7 100644
--- a/libgda/gda-data-access-wrapper.c
+++ b/libgda/gda-data-access-wrapper.c
@@ -109,7 +109,8 @@ gda_data_access_wrapper_get_type (void)
NULL,
sizeof (GdaDataAccessWrapper),
0,
- (GInstanceInitFunc) gda_data_access_wrapper_init
+ (GInstanceInitFunc) gda_data_access_wrapper_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-data-comparator.c b/libgda/gda-data-comparator.c
index 22e66c8..71be08f 100644
--- a/libgda/gda-data-comparator.c
+++ b/libgda/gda-data-comparator.c
@@ -98,7 +98,8 @@ gda_data_comparator_get_type (void)
NULL,
sizeof (GdaDataComparator),
0,
- (GInstanceInitFunc) gda_data_comparator_init
+ (GInstanceInitFunc) gda_data_comparator_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-data-handler.c b/libgda/gda-data-handler.c
index 37212b6..e68c013 100644
--- a/libgda/gda-data-handler.c
+++ b/libgda/gda-data-handler.c
@@ -38,7 +38,8 @@ gda_data_handler_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/libgda/gda-data-meta-wrapper.c b/libgda/gda-data-meta-wrapper.c
index 4fe5e06..ae25184 100644
--- a/libgda/gda-data-meta-wrapper.c
+++ b/libgda/gda-data-meta-wrapper.c
@@ -131,7 +131,8 @@ _gda_data_meta_wrapper_get_type (void)
NULL,
sizeof (GdaDataMetaWrapper),
0,
- (GInstanceInitFunc) gda_data_meta_wrapper_init
+ (GInstanceInitFunc) gda_data_meta_wrapper_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-data-model-array.c b/libgda/gda-data-model-array.c
index b9f0649..4f28983 100644
--- a/libgda/gda-data-model-array.c
+++ b/libgda/gda-data-model-array.c
@@ -125,7 +125,8 @@ gda_data_model_array_get_type (void)
NULL,
sizeof (GdaDataModelArray),
0,
- (GInstanceInitFunc) gda_data_model_array_init
+ (GInstanceInitFunc) gda_data_model_array_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-data-model-bdb.c b/libgda/gda-data-model-bdb.c
index 36f2172..82d5475 100644
--- a/libgda/gda-data-model-bdb.c
+++ b/libgda/gda-data-model-bdb.c
@@ -242,7 +242,8 @@ gda_data_model_bdb_get_type (void)
NULL,
sizeof (GdaDataModelBdb),
0,
- (GInstanceInitFunc) gda_data_model_bdb_init
+ (GInstanceInitFunc) gda_data_model_bdb_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
(GInterfaceInitFunc) gda_data_model_bdb_data_model_init,
diff --git a/libgda/gda-data-model-dir.c b/libgda/gda-data-model-dir.c
index b1bd663..7c2ee4a 100644
--- a/libgda/gda-data-model-dir.c
+++ b/libgda/gda-data-model-dir.c
@@ -274,7 +274,8 @@ gda_data_model_dir_get_type (void)
NULL,
sizeof (GdaDataModelDir),
0,
- (GInstanceInitFunc) gda_data_model_dir_init
+ (GInstanceInitFunc) gda_data_model_dir_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
(GInterfaceInitFunc) gda_data_model_dir_data_model_init,
diff --git a/libgda/gda-data-model-dsn-list.c b/libgda/gda-data-model-dsn-list.c
index 40b77a0..af65103 100644
--- a/libgda/gda-data-model-dsn-list.c
+++ b/libgda/gda-data-model-dsn-list.c
@@ -242,7 +242,8 @@ gda_data_model_dsn_list_get_type (void)
NULL,
sizeof (GdaDataModelDsnList),
0,
- (GInstanceInitFunc) gda_data_model_dsn_list_init
+ (GInstanceInitFunc) gda_data_model_dsn_list_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
(GInterfaceInitFunc) gda_data_model_dsn_list_data_model_init,
diff --git a/libgda/gda-data-model-import.c b/libgda/gda-data-model-import.c
index 59b6c2e..8b7937a 100644
--- a/libgda/gda-data-model-import.c
+++ b/libgda/gda-data-model-import.c
@@ -194,7 +194,8 @@ gda_data_model_import_get_type (void)
NULL,
sizeof (GdaDataModelImport),
0,
- (GInstanceInitFunc) gda_data_model_import_init
+ (GInstanceInitFunc) gda_data_model_import_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-data-model-iter.c b/libgda/gda-data-model-iter.c
index c015ed1..883a208 100644
--- a/libgda/gda-data-model-iter.c
+++ b/libgda/gda-data-model-iter.c
@@ -116,7 +116,8 @@ gda_data_model_iter_get_type (void)
NULL,
sizeof (GdaDataModelIter),
0,
- (GInstanceInitFunc) gda_data_model_iter_init
+ (GInstanceInitFunc) gda_data_model_iter_init,
+ 0
};
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index 27f436e..a43de87 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -90,7 +90,8 @@ gda_data_model_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/libgda/gda-data-proxy.c b/libgda/gda-data-proxy.c
index 85e3ddc..ea0a1d2 100644
--- a/libgda/gda-data-proxy.c
+++ b/libgda/gda-data-proxy.c
@@ -502,7 +502,8 @@ gda_data_proxy_get_type (void)
NULL,
sizeof (GdaDataProxy),
0,
- (GInstanceInitFunc) gda_data_proxy_init
+ (GInstanceInitFunc) gda_data_proxy_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-data-select.c b/libgda/gda-data-select.c
index 3647fab..b646ac4 100644
--- a/libgda/gda-data-select.c
+++ b/libgda/gda-data-select.c
@@ -198,7 +198,8 @@ gda_data_select_get_type (void)
NULL,
sizeof (GdaDataSelect),
0,
- (GInstanceInitFunc) gda_data_select_init
+ (GInstanceInitFunc) gda_data_select_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index f5097ee..d089163 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -134,7 +134,8 @@ gda_holder_get_type (void)
NULL,
sizeof (GdaHolder),
0,
- (GInstanceInitFunc) gda_holder_init
+ (GInstanceInitFunc) gda_holder_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-lockable.c b/libgda/gda-lockable.c
index 2e4f923..20855c1 100644
--- a/libgda/gda-lockable.c
+++ b/libgda/gda-lockable.c
@@ -41,7 +41,8 @@ gda_lockable_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index dc7df66..17b139e 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -293,7 +293,8 @@ gda_meta_store_get_type (void) {
NULL,
sizeof (GdaMetaStore),
0,
- (GInstanceInitFunc) gda_meta_store_init
+ (GInstanceInitFunc) gda_meta_store_init,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index 993884c..5081c51 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -100,7 +100,8 @@ gda_meta_struct_get_type (void) {
NULL,
sizeof (GdaMetaStruct),
0,
- (GInstanceInitFunc) gda_meta_struct_init
+ (GInstanceInitFunc) gda_meta_struct_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-row.c b/libgda/gda-row.c
index bb3cce8..e76a36b 100644
--- a/libgda/gda-row.c
+++ b/libgda/gda-row.c
@@ -181,7 +181,8 @@ gda_row_get_type (void)
NULL,
sizeof (GdaRow),
0,
- (GInstanceInitFunc) gda_row_init
+ (GInstanceInitFunc) gda_row_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index 63a28cd..830148e 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -273,7 +273,8 @@ gda_server_operation_get_type (void)
NULL,
sizeof (GdaServerOperation),
0,
- (GInstanceInitFunc) gda_server_operation_init
+ (GInstanceInitFunc) gda_server_operation_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-server-provider.c b/libgda/gda-server-provider.c
index 6edd373..00a23d9 100644
--- a/libgda/gda-server-provider.c
+++ b/libgda/gda-server-provider.c
@@ -206,7 +206,8 @@ gda_server_provider_get_type (void)
NULL,
sizeof (GdaServerProvider),
0,
- (GInstanceInitFunc) gda_server_provider_init
+ (GInstanceInitFunc) gda_server_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
@@ -345,13 +346,13 @@ typedef struct {
static OpReq op_req_CREATE_DB [] = {
{"/DB_DEF_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/DB_DEF_P/DB_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_DROP_DB [] = {
{"/DB_DESC_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/DB_DESC_P/DB_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_CREATE_TABLE [] = {
@@ -360,26 +361,26 @@ static OpReq op_req_CREATE_TABLE [] = {
{"/FIELDS_A", GDA_SERVER_OPERATION_NODE_DATA_MODEL, 0},
{"/FIELDS_A/@COLUMN_NAME", GDA_SERVER_OPERATION_NODE_DATA_MODEL_COLUMN, G_TYPE_STRING},
{"/FIELDS_A/@COLUMN_TYPE", GDA_SERVER_OPERATION_NODE_DATA_MODEL_COLUMN, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_DROP_TABLE [] = {
{"/TABLE_DESC_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_RENAME_TABLE [] = {
{"/TABLE_DESC_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/TABLE_DESC_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/TABLE_DESC_P/TABLE_NEW_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_COMMENT_TABLE [] = {
{"/TABLE_DESC_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/TABLE_DESC_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/TABLE_DESC_P/TABLE_COMMENT", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_ADD_COLUMN [] = {
@@ -387,14 +388,14 @@ static OpReq op_req_ADD_COLUMN [] = {
{"/COLUMN_DEF_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/COLUMN_DEF_P/COLUMN_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/COLUMN_DEF_P/COLUMN_TYPE", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_DROP_COLUMN [] = {
{"/COLUMN_DESC_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/COLUMN_DESC_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/COLUMN_DESC_P/COLUMN_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_COMMENT_COLUMN [] = {
@@ -402,37 +403,37 @@ static OpReq op_req_COMMENT_COLUMN [] = {
{"/COLUMN_DESC_P/TABLE_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/COLUMN_DESC_P/COLUMN_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/COLUMN_DESC_P/COLUMN_COMMENT", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_CREATE_INDEX [] = {
{"/INDEX_DEF_P/INDEX_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/INDEX_DEF_P/INDEX_ON_TABLE", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/INDEX_FIELDS_S", GDA_SERVER_OPERATION_NODE_SEQUENCE, 0},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_DROP_INDEX [] = {
{"/INDEX_DESC_P/INDEX_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_CREATE_VIEW [] = {
{"/VIEW_DEF_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/VIEW_DEF_P/VIEW_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
{"/VIEW_DEF_P/VIEW_DEF", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_DROP_VIEW [] = {
{"/VIEW_DESC_P/VIEW_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
static OpReq op_req_CREATE_USER [] = {
{"/USER_DEF_P", GDA_SERVER_OPERATION_NODE_PARAMLIST, 0},
{"/USER_DEF_P/USER_NAME", GDA_SERVER_OPERATION_NODE_PARAM, G_TYPE_STRING},
- {NULL}
+ {NULL, 0, 0}
};
diff --git a/libgda/gda-set.c b/libgda/gda-set.c
index 3d5ddfc..893db08 100644
--- a/libgda/gda-set.c
+++ b/libgda/gda-set.c
@@ -193,7 +193,8 @@ gda_set_get_type (void)
NULL,
sizeof (GdaSet),
0,
- (GInstanceInitFunc) gda_set_init
+ (GInstanceInitFunc) gda_set_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-sql-builder.c b/libgda/gda-sql-builder.c
index 6fe0439..1494058 100644
--- a/libgda/gda-sql-builder.c
+++ b/libgda/gda-sql-builder.c
@@ -89,7 +89,8 @@ gda_sql_builder_get_type (void) {
NULL,
sizeof (GdaSqlBuilder),
0,
- (GInstanceInitFunc) gda_sql_builder_init
+ (GInstanceInitFunc) gda_sql_builder_init,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/libgda/gda-statement.c b/libgda/gda-statement.c
index 3f8aa1f..d562f4c 100644
--- a/libgda/gda-statement.c
+++ b/libgda/gda-statement.c
@@ -108,7 +108,8 @@ gda_statement_get_type (void)
NULL,
sizeof (GdaStatement),
0,
- (GInstanceInitFunc) gda_statement_init
+ (GInstanceInitFunc) gda_statement_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-transaction-status.c b/libgda/gda-transaction-status.c
index e07c29f..29d2369 100644
--- a/libgda/gda-transaction-status.c
+++ b/libgda/gda-transaction-status.c
@@ -118,7 +118,8 @@ gda_transaction_status_get_type (void)
NULL, NULL,
sizeof (GdaTransactionStatus),
0,
- (GInstanceInitFunc) gda_transaction_status_init
+ (GInstanceInitFunc) gda_transaction_status_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/gda-tree-manager.c b/libgda/gda-tree-manager.c
index cb03d02..4b391cd 100644
--- a/libgda/gda-tree-manager.c
+++ b/libgda/gda-tree-manager.c
@@ -181,7 +181,8 @@ gda_tree_manager_get_type (void)
NULL,
sizeof (GdaTreeManager),
0,
- (GInstanceInitFunc) gda_tree_manager_init
+ (GInstanceInitFunc) gda_tree_manager_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-mgr-columns.c b/libgda/gda-tree-mgr-columns.c
index 9a10b6e..7ece97b 100644
--- a/libgda/gda-tree-mgr-columns.c
+++ b/libgda/gda-tree-mgr-columns.c
@@ -162,7 +162,8 @@ gda_tree_mgr_columns_get_type (void)
NULL,
sizeof (GdaTreeMgrColumns),
0,
- (GInstanceInitFunc) gda_tree_mgr_columns_init
+ (GInstanceInitFunc) gda_tree_mgr_columns_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-mgr-label.c b/libgda/gda-tree-mgr-label.c
index 885a718..22367a5 100644
--- a/libgda/gda-tree-mgr-label.c
+++ b/libgda/gda-tree-mgr-label.c
@@ -125,7 +125,8 @@ gda_tree_mgr_label_get_type (void)
NULL,
sizeof (GdaTreeMgrLabel),
0,
- (GInstanceInitFunc) gda_tree_mgr_label_init
+ (GInstanceInitFunc) gda_tree_mgr_label_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-mgr-schemas.c b/libgda/gda-tree-mgr-schemas.c
index 497e44f..5d39afb 100644
--- a/libgda/gda-tree-mgr-schemas.c
+++ b/libgda/gda-tree-mgr-schemas.c
@@ -131,7 +131,8 @@ gda_tree_mgr_schemas_get_type (void)
NULL,
sizeof (GdaTreeMgrSchemas),
0,
- (GInstanceInitFunc) gda_tree_mgr_schemas_init
+ (GInstanceInitFunc) gda_tree_mgr_schemas_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-mgr-select.c b/libgda/gda-tree-mgr-select.c
index 957b360..0778c5a 100644
--- a/libgda/gda-tree-mgr-select.c
+++ b/libgda/gda-tree-mgr-select.c
@@ -151,7 +151,8 @@ gda_tree_mgr_select_get_type (void)
NULL,
sizeof (GdaTreeMgrSelect),
0,
- (GInstanceInitFunc) gda_tree_mgr_select_init
+ (GInstanceInitFunc) gda_tree_mgr_select_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-mgr-tables.c b/libgda/gda-tree-mgr-tables.c
index 331c516..2cb7362 100644
--- a/libgda/gda-tree-mgr-tables.c
+++ b/libgda/gda-tree-mgr-tables.c
@@ -154,7 +154,8 @@ gda_tree_mgr_tables_get_type (void)
NULL,
sizeof (GdaTreeMgrTables),
0,
- (GInstanceInitFunc) gda_tree_mgr_tables_init
+ (GInstanceInitFunc) gda_tree_mgr_tables_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree-node.c b/libgda/gda-tree-node.c
index 7353959..bf676ab 100644
--- a/libgda/gda-tree-node.c
+++ b/libgda/gda-tree-node.c
@@ -322,7 +322,8 @@ gda_tree_node_get_type (void)
NULL,
sizeof (GdaTreeNode),
0,
- (GInstanceInitFunc) gda_tree_node_init
+ (GInstanceInitFunc) gda_tree_node_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-tree.c b/libgda/gda-tree.c
index 9b34223..f24b599 100644
--- a/libgda/gda-tree.c
+++ b/libgda/gda-tree.c
@@ -247,7 +247,8 @@ gda_tree_get_type (void)
NULL,
sizeof (GdaTree),
0,
- (GInstanceInitFunc) gda_tree_init
+ (GInstanceInitFunc) gda_tree_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/gda-xa-transaction.c b/libgda/gda-xa-transaction.c
index 6511642..a62c60f 100644
--- a/libgda/gda-xa-transaction.c
+++ b/libgda/gda-xa-transaction.c
@@ -225,7 +225,8 @@ gda_xa_transaction_get_type (void)
NULL, NULL,
sizeof (GdaXaTransaction),
0,
- (GInstanceInitFunc) gda_xa_transaction_init
+ (GInstanceInitFunc) gda_xa_transaction_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/handlers/gda-handler-bin.c b/libgda/handlers/gda-handler-bin.c
index 2085b7d..6c4ccf2 100644
--- a/libgda/handlers/gda-handler-bin.c
+++ b/libgda/handlers/gda-handler-bin.c
@@ -67,7 +67,8 @@ gda_handler_bin_get_type (void)
NULL,
sizeof (GdaHandlerBin),
0,
- (GInstanceInitFunc) gda_handler_bin_init
+ (GInstanceInitFunc) gda_handler_bin_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/handlers/gda-handler-boolean.c b/libgda/handlers/gda-handler-boolean.c
index af2c48f..aecceda 100644
--- a/libgda/handlers/gda-handler-boolean.c
+++ b/libgda/handlers/gda-handler-boolean.c
@@ -67,7 +67,8 @@ gda_handler_boolean_get_type (void)
NULL,
sizeof (GdaHandlerBoolean),
0,
- (GInstanceInitFunc) gda_handler_boolean_init
+ (GInstanceInitFunc) gda_handler_boolean_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/handlers/gda-handler-numerical.c b/libgda/handlers/gda-handler-numerical.c
index 98e4a2e..065271e 100644
--- a/libgda/handlers/gda-handler-numerical.c
+++ b/libgda/handlers/gda-handler-numerical.c
@@ -68,7 +68,8 @@ gda_handler_numerical_get_type (void)
NULL,
sizeof (GdaHandlerNumerical),
0,
- (GInstanceInitFunc) gda_handler_numerical_init
+ (GInstanceInitFunc) gda_handler_numerical_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/handlers/gda-handler-string.c b/libgda/handlers/gda-handler-string.c
index d49d9f4..bb330b0 100644
--- a/libgda/handlers/gda-handler-string.c
+++ b/libgda/handlers/gda-handler-string.c
@@ -71,7 +71,8 @@ gda_handler_string_get_type (void)
NULL,
sizeof (GdaHandlerString),
0,
- (GInstanceInitFunc) gda_handler_string_init
+ (GInstanceInitFunc) gda_handler_string_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/handlers/gda-handler-time.c b/libgda/handlers/gda-handler-time.c
index f100bb8..4f6fa7c 100644
--- a/libgda/handlers/gda-handler-time.c
+++ b/libgda/handlers/gda-handler-time.c
@@ -93,7 +93,8 @@ gda_handler_time_get_type (void)
NULL,
sizeof (GdaHandlerTime),
0,
- (GInstanceInitFunc) gda_handler_time_init
+ (GInstanceInitFunc) gda_handler_time_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/handlers/gda-handler-type.c b/libgda/handlers/gda-handler-type.c
index 0c9538e..f6a13e8 100644
--- a/libgda/handlers/gda-handler-type.c
+++ b/libgda/handlers/gda-handler-type.c
@@ -65,7 +65,8 @@ gda_handler_type_get_type (void)
NULL,
sizeof (GdaHandlerType),
0,
- (GInstanceInitFunc) gda_handler_type_init
+ (GInstanceInitFunc) gda_handler_type_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/providers-support/gda-pstmt.c b/libgda/providers-support/gda-pstmt.c
index e1d7ad2..17a977f 100644
--- a/libgda/providers-support/gda-pstmt.c
+++ b/libgda/providers-support/gda-pstmt.c
@@ -57,7 +57,8 @@ gda_pstmt_get_type (void)
NULL,
sizeof (GdaPStmt),
0,
- (GInstanceInitFunc) gda_pstmt_init
+ (GInstanceInitFunc) gda_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sql-parser/gda-sql-parser.c b/libgda/sql-parser/gda-sql-parser.c
index 49577bc..41679c0 100644
--- a/libgda/sql-parser/gda-sql-parser.c
+++ b/libgda/sql-parser/gda-sql-parser.c
@@ -124,7 +124,8 @@ gda_sql_parser_get_type (void)
NULL,
sizeof (GdaSqlParser),
0,
- (GInstanceInitFunc) gda_sql_parser_init
+ (GInstanceInitFunc) gda_sql_parser_init,
+ 0
};
static GInterfaceInfo lockable_info = {
diff --git a/libgda/sql-parser/gda-statement-struct-compound.c b/libgda/sql-parser/gda-statement-struct-compound.c
index 0a9f90b..bc3d8c8 100644
--- a/libgda/sql-parser/gda-statement-struct-compound.c
+++ b/libgda/sql-parser/gda-statement-struct-compound.c
@@ -36,6 +36,10 @@ GdaSqlStatementContentsInfo compound_infos = {
_gda_sql_statement_compound_serialize,
gda_sql_statement_compound_check_structure,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sql-parser/gda-statement-struct-delete.c b/libgda/sql-parser/gda-statement-struct-delete.c
index 62838fd..6db0ddf 100644
--- a/libgda/sql-parser/gda-statement-struct-delete.c
+++ b/libgda/sql-parser/gda-statement-struct-delete.c
@@ -40,6 +40,10 @@ GdaSqlStatementContentsInfo delete_infos = {
gda_sql_statement_delete_serialize,
gda_sql_statement_delete_check_structure,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sql-parser/gda-statement-struct-insert.c b/libgda/sql-parser/gda-statement-struct-insert.c
index c121cb0..290b324 100644
--- a/libgda/sql-parser/gda-statement-struct-insert.c
+++ b/libgda/sql-parser/gda-statement-struct-insert.c
@@ -41,6 +41,10 @@ GdaSqlStatementContentsInfo insert_infos = {
gda_sql_statement_insert_serialize,
gda_sql_statement_insert_check_structure,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sql-parser/gda-statement-struct-select.c b/libgda/sql-parser/gda-statement-struct-select.c
index 7c9b724..48e9163 100644
--- a/libgda/sql-parser/gda-statement-struct-select.c
+++ b/libgda/sql-parser/gda-statement-struct-select.c
@@ -37,7 +37,11 @@ GdaSqlStatementContentsInfo select_infos = {
_gda_sql_statement_select_serialize,
gda_sql_statement_select_check_structure,
- gda_sql_statement_select_check_validity
+ gda_sql_statement_select_check_validity,
+ NULL,
+ NULL,
+ NULL,
+ NULL
};
GdaSqlStatementContentsInfo *
diff --git a/libgda/sql-parser/gda-statement-struct-trans.c b/libgda/sql-parser/gda-statement-struct-trans.c
index 3a087d8..adcd199 100644
--- a/libgda/sql-parser/gda-statement-struct-trans.c
+++ b/libgda/sql-parser/gda-statement-struct-trans.c
@@ -37,6 +37,10 @@ GdaSqlStatementContentsInfo begin_infos = {
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
@@ -54,6 +58,11 @@ GdaSqlStatementContentsInfo commit_infos = {
gda_sql_statement_trans_free,
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
@@ -71,6 +80,11 @@ GdaSqlStatementContentsInfo rollback_infos = {
gda_sql_statement_trans_free,
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
@@ -88,6 +102,11 @@ GdaSqlStatementContentsInfo svp_infos = {
gda_sql_statement_trans_free,
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
@@ -105,6 +124,11 @@ GdaSqlStatementContentsInfo rollback_svp_infos = {
gda_sql_statement_trans_free,
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
@@ -122,6 +146,11 @@ GdaSqlStatementContentsInfo delete_svp_infos = {
gda_sql_statement_trans_free,
gda_sql_statement_trans_copy,
gda_sql_statement_trans_serialize,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sql-parser/gda-statement-struct-unknown.c b/libgda/sql-parser/gda-statement-struct-unknown.c
index 68224ab..ea6bcd6 100644
--- a/libgda/sql-parser/gda-statement-struct-unknown.c
+++ b/libgda/sql-parser/gda-statement-struct-unknown.c
@@ -35,6 +35,10 @@ GdaSqlStatementContentsInfo unknown_infos = {
gda_sql_statement_unknown_copy,
gda_sql_statement_unknown_serialize,
NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sql-parser/gda-statement-struct-update.c b/libgda/sql-parser/gda-statement-struct-update.c
index 112ee3e..29d4068 100644
--- a/libgda/sql-parser/gda-statement-struct-update.c
+++ b/libgda/sql-parser/gda-statement-struct-update.c
@@ -40,6 +40,10 @@ GdaSqlStatementContentsInfo update_infos = {
gda_sql_statement_update_serialize,
gda_sql_statement_update_check_structure,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};
diff --git a/libgda/sqlite/gda-sqlite-blob-op.c b/libgda/sqlite/gda-sqlite-blob-op.c
index d37d0fd..303931d 100644
--- a/libgda/sqlite/gda-sqlite-blob-op.c
+++ b/libgda/sqlite/gda-sqlite-blob-op.c
@@ -62,7 +62,8 @@ _gda_sqlite_blob_op_get_type (void)
NULL,
sizeof (GdaSqliteBlobOp),
0,
- (GInstanceInitFunc) gda_sqlite_blob_op_init
+ (GInstanceInitFunc) gda_sqlite_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/sqlite/gda-sqlite-handler-bin.c b/libgda/sqlite/gda-sqlite-handler-bin.c
index ff0437b..415c21e 100644
--- a/libgda/sqlite/gda-sqlite-handler-bin.c
+++ b/libgda/sqlite/gda-sqlite-handler-bin.c
@@ -65,7 +65,8 @@ _gda_sqlite_handler_bin_get_type (void)
NULL,
sizeof (GdaSqliteHandlerBin),
0,
- (GInstanceInitFunc) gda_sqlite_handler_bin_init
+ (GInstanceInitFunc) gda_sqlite_handler_bin_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/sqlite/gda-sqlite-handler-boolean.c b/libgda/sqlite/gda-sqlite-handler-boolean.c
index 1b49af3..bc9712c 100644
--- a/libgda/sqlite/gda-sqlite-handler-boolean.c
+++ b/libgda/sqlite/gda-sqlite-handler-boolean.c
@@ -67,7 +67,8 @@ _gda_sqlite_handler_boolean_get_type (void)
NULL,
sizeof (GdaSqliteHandlerBoolean),
0,
- (GInstanceInitFunc) gda_sqlite_handler_boolean_init
+ (GInstanceInitFunc) gda_sqlite_handler_boolean_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index cbc88b6..9a0faa0 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -559,7 +559,8 @@ gda_sqlite_provider_get_type (void)
NULL, NULL,
sizeof (GdaSqliteProvider),
0,
- (GInstanceInitFunc) gda_sqlite_provider_init
+ (GInstanceInitFunc) gda_sqlite_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0) {
diff --git a/libgda/sqlite/gda-sqlite-pstmt.c b/libgda/sqlite/gda-sqlite-pstmt.c
index 63a6bf8..0f89471 100644
--- a/libgda/sqlite/gda-sqlite-pstmt.c
+++ b/libgda/sqlite/gda-sqlite-pstmt.c
@@ -52,7 +52,8 @@ _gda_sqlite_pstmt_get_type (void)
NULL,
sizeof (GdaSqlitePStmt),
0,
- (GInstanceInitFunc) gda_sqlite_pstmt_init
+ (GInstanceInitFunc) gda_sqlite_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/gda-sqlite-recordset.c b/libgda/sqlite/gda-sqlite-recordset.c
index b0dc424..6f596fd 100644
--- a/libgda/sqlite/gda-sqlite-recordset.c
+++ b/libgda/sqlite/gda-sqlite-recordset.c
@@ -128,7 +128,8 @@ _gda_sqlite_recordset_get_type (void)
NULL,
sizeof (GdaSqliteRecordset),
0,
- (GInstanceInitFunc) gda_sqlite_recordset_init
+ (GInstanceInitFunc) gda_sqlite_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/sqlite/virtual/gda-vconnection-data-model.c b/libgda/sqlite/virtual/gda-vconnection-data-model.c
index d29c4c5..66f495a 100644
--- a/libgda/sqlite/virtual/gda-vconnection-data-model.c
+++ b/libgda/sqlite/virtual/gda-vconnection-data-model.c
@@ -114,7 +114,8 @@ gda_vconnection_data_model_get_type (void)
NULL, NULL,
sizeof (GdaVconnectionDataModel),
0,
- (GInstanceInitFunc) gda_vconnection_data_model_init
+ (GInstanceInitFunc) gda_vconnection_data_model_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/virtual/gda-vconnection-hub.c b/libgda/sqlite/virtual/gda-vconnection-hub.c
index a3b2f27..741ef0a 100644
--- a/libgda/sqlite/virtual/gda-vconnection-hub.c
+++ b/libgda/sqlite/virtual/gda-vconnection-hub.c
@@ -130,7 +130,8 @@ gda_vconnection_hub_get_type (void)
NULL, NULL,
sizeof (GdaVconnectionHub),
0,
- (GInstanceInitFunc) gda_vconnection_hub_init
+ (GInstanceInitFunc) gda_vconnection_hub_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/virtual/gda-virtual-connection.c b/libgda/sqlite/virtual/gda-virtual-connection.c
index f545a27..2545f47 100644
--- a/libgda/sqlite/virtual/gda-virtual-connection.c
+++ b/libgda/sqlite/virtual/gda-virtual-connection.c
@@ -110,7 +110,8 @@ gda_virtual_connection_get_type (void)
NULL, NULL,
sizeof (GdaVirtualConnection),
0,
- (GInstanceInitFunc) gda_virtual_connection_init
+ (GInstanceInitFunc) gda_virtual_connection_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/virtual/gda-virtual-provider.c b/libgda/sqlite/virtual/gda-virtual-provider.c
index 678a882..991373e 100644
--- a/libgda/sqlite/virtual/gda-virtual-provider.c
+++ b/libgda/sqlite/virtual/gda-virtual-provider.c
@@ -120,7 +120,8 @@ gda_virtual_provider_get_type (void)
NULL, NULL,
sizeof (GdaVirtualProvider),
0,
- (GInstanceInitFunc) gda_virtual_provider_init
+ (GInstanceInitFunc) gda_virtual_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/virtual/gda-vprovider-data-model.c b/libgda/sqlite/virtual/gda-vprovider-data-model.c
index 5d1b446..4ce0d84 100644
--- a/libgda/sqlite/virtual/gda-vprovider-data-model.c
+++ b/libgda/sqlite/virtual/gda-vprovider-data-model.c
@@ -132,7 +132,8 @@ gda_vprovider_data_model_get_type (void)
NULL, NULL,
sizeof (GdaVproviderDataModel),
0,
- (GInstanceInitFunc) gda_vprovider_data_model_init
+ (GInstanceInitFunc) gda_vprovider_data_model_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/sqlite/virtual/gda-vprovider-hub.c b/libgda/sqlite/virtual/gda-vprovider-hub.c
index 5bab983..fe68343 100644
--- a/libgda/sqlite/virtual/gda-vprovider-hub.c
+++ b/libgda/sqlite/virtual/gda-vprovider-hub.c
@@ -115,7 +115,8 @@ gda_vprovider_hub_get_type (void)
NULL, NULL,
sizeof (GdaVproviderHub),
0,
- (GInstanceInitFunc) gda_vprovider_hub_init
+ (GInstanceInitFunc) gda_vprovider_hub_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/libgda/thread-wrapper/gda-thread-blob-op.c b/libgda/thread-wrapper/gda-thread-blob-op.c
index da6daa9..826745b 100644
--- a/libgda/thread-wrapper/gda-thread-blob-op.c
+++ b/libgda/thread-wrapper/gda-thread-blob-op.c
@@ -59,7 +59,8 @@ _gda_thread_blob_op_get_type (void)
NULL,
sizeof (GdaThreadBlobOp),
0,
- (GInstanceInitFunc) gda_thread_blob_op_init
+ (GInstanceInitFunc) gda_thread_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/thread-wrapper/gda-thread-provider.c b/libgda/thread-wrapper/gda-thread-provider.c
index ad66075..93f64af 100644
--- a/libgda/thread-wrapper/gda-thread-provider.c
+++ b/libgda/thread-wrapper/gda-thread-provider.c
@@ -279,7 +279,8 @@ _gda_thread_provider_get_type (void)
NULL, NULL,
sizeof (GdaThreadProvider),
0,
- (GInstanceInitFunc) gda_thread_provider_init
+ (GInstanceInitFunc) gda_thread_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/thread-wrapper/gda-thread-recordset.c b/libgda/thread-wrapper/gda-thread-recordset.c
index 0782ae8..7242207 100644
--- a/libgda/thread-wrapper/gda-thread-recordset.c
+++ b/libgda/thread-wrapper/gda-thread-recordset.c
@@ -139,7 +139,8 @@ _gda_thread_recordset_get_type (void)
NULL,
sizeof (GdaThreadRecordset),
0,
- (GInstanceInitFunc) gda_thread_recordset_init
+ (GInstanceInitFunc) gda_thread_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/libgda/thread-wrapper/gda-thread-wrapper.c b/libgda/thread-wrapper/gda-thread-wrapper.c
index 0bfcd4f..1e3053e 100644
--- a/libgda/thread-wrapper/gda-thread-wrapper.c
+++ b/libgda/thread-wrapper/gda-thread-wrapper.c
@@ -442,7 +442,8 @@ gda_thread_wrapper_get_type (void)
NULL,
sizeof (GdaThreadWrapper),
0,
- (GInstanceInitFunc) gda_thread_wrapper_init
+ (GInstanceInitFunc) gda_thread_wrapper_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/bdb/gda-bdb-provider.c b/providers/bdb/gda-bdb-provider.c
index 2896289..42600c3 100644
--- a/providers/bdb/gda-bdb-provider.c
+++ b/providers/bdb/gda-bdb-provider.c
@@ -104,7 +104,8 @@ gda_bdb_provider_get_type (void)
NULL, NULL,
sizeof (GdaBdbProvider),
0,
- (GInstanceInitFunc) gda_bdb_provider_init
+ (GInstanceInitFunc) gda_bdb_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/jdbc/gda-jdbc-blob-op.c b/providers/jdbc/gda-jdbc-blob-op.c
index f6078f4..877b6f2 100644
--- a/providers/jdbc/gda-jdbc-blob-op.c
+++ b/providers/jdbc/gda-jdbc-blob-op.c
@@ -63,7 +63,8 @@ gda_jdbc_blob_op_get_type (void)
NULL,
sizeof (GdaJdbcBlobOp),
0,
- (GInstanceInitFunc) gda_jdbc_blob_op_init
+ (GInstanceInitFunc) gda_jdbc_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/jdbc/gda-jdbc-provider.c b/providers/jdbc/gda-jdbc-provider.c
index c7e59d3..919dd04 100644
--- a/providers/jdbc/gda-jdbc-provider.c
+++ b/providers/jdbc/gda-jdbc-provider.c
@@ -298,7 +298,8 @@ gda_jdbc_provider_get_type (void)
NULL, NULL,
sizeof (GdaJdbcProvider),
0,
- (GInstanceInitFunc) gda_jdbc_provider_init
+ (GInstanceInitFunc) gda_jdbc_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/jdbc/gda-jdbc-pstmt.c b/providers/jdbc/gda-jdbc-pstmt.c
index 07294bd..fe23b2c 100644
--- a/providers/jdbc/gda-jdbc-pstmt.c
+++ b/providers/jdbc/gda-jdbc-pstmt.c
@@ -51,7 +51,8 @@ gda_jdbc_pstmt_get_type (void)
NULL,
sizeof (GdaJdbcPStmt),
0,
- (GInstanceInitFunc) gda_jdbc_pstmt_init
+ (GInstanceInitFunc) gda_jdbc_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/jdbc/gda-jdbc-recordset.c b/providers/jdbc/gda-jdbc-recordset.c
index 03e3dd9..4f9ec11 100644
--- a/providers/jdbc/gda-jdbc-recordset.c
+++ b/providers/jdbc/gda-jdbc-recordset.c
@@ -128,7 +128,8 @@ gda_jdbc_recordset_get_type (void)
NULL,
sizeof (GdaJdbcRecordset),
0,
- (GInstanceInitFunc) gda_jdbc_recordset_init
+ (GInstanceInitFunc) gda_jdbc_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/postgres/gda-postgres-blob-op.c b/providers/postgres/gda-postgres-blob-op.c
index f330dd4..a8c92bf 100644
--- a/providers/postgres/gda-postgres-blob-op.c
+++ b/providers/postgres/gda-postgres-blob-op.c
@@ -62,7 +62,8 @@ gda_postgres_blob_op_get_type (void)
NULL,
sizeof (GdaPostgresBlobOp),
0,
- (GInstanceInitFunc) gda_postgres_blob_op_init
+ (GInstanceInitFunc) gda_postgres_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/postgres/gda-postgres-handler-bin.c b/providers/postgres/gda-postgres-handler-bin.c
index ea75caf..550efd5 100644
--- a/providers/postgres/gda-postgres-handler-bin.c
+++ b/providers/postgres/gda-postgres-handler-bin.c
@@ -69,7 +69,8 @@ gda_postgres_handler_bin_get_type (void)
NULL,
sizeof (GdaPostgresHandlerBin),
0,
- (GInstanceInitFunc) gda_postgres_handler_bin_init
+ (GInstanceInitFunc) gda_postgres_handler_bin_init,
+ 0
};
static const GInterfaceInfo data_entry_info = {
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index d60a818..b307651 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -323,7 +323,8 @@ gda_postgres_provider_get_type (void)
NULL, NULL,
sizeof (GdaPostgresProvider),
0,
- (GInstanceInitFunc) gda_postgres_provider_init
+ (GInstanceInitFunc) gda_postgres_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/postgres/gda-postgres-pstmt.c b/providers/postgres/gda-postgres-pstmt.c
index cc327bc..258d331 100644
--- a/providers/postgres/gda-postgres-pstmt.c
+++ b/providers/postgres/gda-postgres-pstmt.c
@@ -52,7 +52,8 @@ gda_postgres_pstmt_get_type (void)
NULL,
sizeof (GdaPostgresPStmt),
0,
- (GInstanceInitFunc) gda_postgres_pstmt_init
+ (GInstanceInitFunc) gda_postgres_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/postgres/gda-postgres-recordset.c b/providers/postgres/gda-postgres-recordset.c
index 69fc699..f5f026c 100644
--- a/providers/postgres/gda-postgres-recordset.c
+++ b/providers/postgres/gda-postgres-recordset.c
@@ -234,7 +234,8 @@ gda_postgres_recordset_get_type (void)
NULL,
sizeof (GdaPostgresRecordset),
0,
- (GInstanceInitFunc) gda_postgres_recordset_init
+ (GInstanceInitFunc) gda_postgres_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/reuseable/mysql/gda-mysql-meta.c b/providers/reuseable/mysql/gda-mysql-meta.c
index af8bec2..97c0db0 100644
--- a/providers/reuseable/mysql/gda-mysql-meta.c
+++ b/providers/reuseable/mysql/gda-mysql-meta.c
@@ -331,10 +331,10 @@ _gda_mysql_meta__btypes (G_GNUC_UNUSED GdaServerProvider *prov,
gchar *synonyms;
} BuiltinDataType;
BuiltinDataType data_types[] = {
- { "AUTO_INCREMENT", "gint" "The AUTO_INCREMENT attribute can be used to generate a unique identity for new rows", "" },
+ { "AUTO_INCREMENT", "gint", "The AUTO_INCREMENT attribute can be used to generate a unique identity for new rows", "" },
{ "BIGINT", "gint64", "A large integer. The signed range is -9223372036854775808 to 9223372036854775807. The unsigned range is 0 to 18446744073709551615.", "" },
{ "BINARY", "GdaBinary", "The BINARY type is similar to the CHAR type, but stores binary byte strings rather than non-binary character strings. M represents the column length in bytes.", "CHAR BYTE" },
- { "BIT", "gint" "A bit-field type. M indicates the number of bits per value, from 1 to 64. The default is 1 if M is omitted.", "" },
+ { "BIT", "gint", "A bit-field type. M indicates the number of bits per value, from 1 to 64. The default is 1 if M is omitted.", "" },
{ "BLOB", "GdaBinary", "A BLOB column with a maximum length of 65,535 (216 - 1) bytes. Each BLOB value is stored using a two-byte length prefix that indicates the number of bytes in the value.", "" },
{ "BLOB DATA TYPE", "GdaBinary", "A BLOB is a binary large object that can hold a variable amount of data. The four BLOB types are TINYBLOB, BLOB, MEDIUMBLOB, and LONGBLOB. These differ only in the maximum length of the values they can hold.", "" },
{ "BOOLEAN", "gboolean", "These types are synonyms for TINYINT(1). A value of zero is considered false. Non-zero values are considered true", "" },
diff --git a/providers/reuseable/mysql/gda-mysql-parser.c b/providers/reuseable/mysql/gda-mysql-parser.c
index b28ee99..5b72871 100644
--- a/providers/reuseable/mysql/gda-mysql-parser.c
+++ b/providers/reuseable/mysql/gda-mysql-parser.c
@@ -47,7 +47,8 @@ gda_mysql_parser_get_type (void)
NULL,
sizeof (GdaMysqlParser),
0,
- (GInstanceInitFunc) gda_mysql_parser_init
+ (GInstanceInitFunc) gda_mysql_parser_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/reuseable/postgres/gda-postgres-parser.c b/providers/reuseable/postgres/gda-postgres-parser.c
index dd0a7b7..f6229ed 100644
--- a/providers/reuseable/postgres/gda-postgres-parser.c
+++ b/providers/reuseable/postgres/gda-postgres-parser.c
@@ -47,7 +47,8 @@ gda_postgres_parser_get_type (void)
NULL,
sizeof (GdaPostgresParser),
0,
- (GInstanceInitFunc) gda_postgres_parser_init
+ (GInstanceInitFunc) gda_postgres_parser_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/skel-implementation/capi/gda-capi-blob-op.c b/providers/skel-implementation/capi/gda-capi-blob-op.c
index 77bede1..7f2d012 100644
--- a/providers/skel-implementation/capi/gda-capi-blob-op.c
+++ b/providers/skel-implementation/capi/gda-capi-blob-op.c
@@ -61,7 +61,8 @@ gda_capi_blob_op_get_type (void)
NULL,
sizeof (GdaCapiBlobOp),
0,
- (GInstanceInitFunc) gda_capi_blob_op_init
+ (GInstanceInitFunc) gda_capi_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/skel-implementation/capi/gda-capi-parser.c b/providers/skel-implementation/capi/gda-capi-parser.c
index 52bd71a..4c8ee83 100644
--- a/providers/skel-implementation/capi/gda-capi-parser.c
+++ b/providers/skel-implementation/capi/gda-capi-parser.c
@@ -47,7 +47,8 @@ gda_capi_parser_get_type (void)
NULL,
sizeof (GdaCapiParser),
0,
- (GInstanceInitFunc) gda_capi_parser_init
+ (GInstanceInitFunc) gda_capi_parser_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/skel-implementation/capi/gda-capi-provider.c b/providers/skel-implementation/capi/gda-capi-provider.c
index 8b03584..2732b89 100644
--- a/providers/skel-implementation/capi/gda-capi-provider.c
+++ b/providers/skel-implementation/capi/gda-capi-provider.c
@@ -293,7 +293,8 @@ gda_capi_provider_get_type (void)
NULL, NULL,
sizeof (GdaCapiProvider),
0,
- (GInstanceInitFunc) gda_capi_provider_init
+ (GInstanceInitFunc) gda_capi_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/skel-implementation/capi/gda-capi-pstmt.c b/providers/skel-implementation/capi/gda-capi-pstmt.c
index 682926e..a5cea4e 100644
--- a/providers/skel-implementation/capi/gda-capi-pstmt.c
+++ b/providers/skel-implementation/capi/gda-capi-pstmt.c
@@ -51,7 +51,8 @@ gda_capi_pstmt_get_type (void)
NULL,
sizeof (GdaCapiPStmt),
0,
- (GInstanceInitFunc) gda_capi_pstmt_init
+ (GInstanceInitFunc) gda_capi_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/skel-implementation/capi/gda-capi-recordset.c b/providers/skel-implementation/capi/gda-capi-recordset.c
index fc88cc1..a33c43d 100644
--- a/providers/skel-implementation/capi/gda-capi-recordset.c
+++ b/providers/skel-implementation/capi/gda-capi-recordset.c
@@ -122,7 +122,8 @@ gda_capi_recordset_get_type (void)
NULL,
sizeof (GdaCapiRecordset),
0,
- (GInstanceInitFunc) gda_capi_recordset_init
+ (GInstanceInitFunc) gda_capi_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/skel-implementation/models/gda-models-provider.c b/providers/skel-implementation/models/gda-models-provider.c
index 4577606..f77e70f 100644
--- a/providers/skel-implementation/models/gda-models-provider.c
+++ b/providers/skel-implementation/models/gda-models-provider.c
@@ -102,7 +102,8 @@ gda_models_provider_get_type (void)
NULL, NULL,
sizeof (GdaModelsProvider),
0,
- (GInstanceInitFunc) gda_models_provider_init
+ (GInstanceInitFunc) gda_models_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/web/gda-web-blob-op.c b/providers/web/gda-web-blob-op.c
index e95eaee..58fc7c9 100644
--- a/providers/web/gda-web-blob-op.c
+++ b/providers/web/gda-web-blob-op.c
@@ -61,7 +61,8 @@ gda_web_blob_op_get_type (void)
NULL,
sizeof (GdaWebBlobOp),
0,
- (GInstanceInitFunc) gda_web_blob_op_init
+ (GInstanceInitFunc) gda_web_blob_op_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/web/gda-web-provider.c b/providers/web/gda-web-provider.c
index 3fed668..8ce394d 100644
--- a/providers/web/gda-web-provider.c
+++ b/providers/web/gda-web-provider.c
@@ -247,7 +247,8 @@ gda_web_provider_get_type (void)
NULL, NULL,
sizeof (GdaWebProvider),
0,
- (GInstanceInitFunc) gda_web_provider_init
+ (GInstanceInitFunc) gda_web_provider_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/providers/web/gda-web-pstmt.c b/providers/web/gda-web-pstmt.c
index e0f65c1..c208ef3 100644
--- a/providers/web/gda-web-pstmt.c
+++ b/providers/web/gda-web-pstmt.c
@@ -52,7 +52,8 @@ gda_web_pstmt_get_type (void)
NULL,
sizeof (GdaWebPStmt),
0,
- (GInstanceInitFunc) gda_web_pstmt_init
+ (GInstanceInitFunc) gda_web_pstmt_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/providers/web/gda-web-recordset.c b/providers/web/gda-web-recordset.c
index 32c4bc3..ecac236 100644
--- a/providers/web/gda-web-recordset.c
+++ b/providers/web/gda-web-recordset.c
@@ -137,7 +137,8 @@ gda_web_recordset_get_type (void)
NULL,
sizeof (GdaWebRecordset),
0,
- (GInstanceInitFunc) gda_web_recordset_init
+ (GInstanceInitFunc) gda_web_recordset_init,
+ 0
};
g_static_mutex_lock (®istering);
if (type == 0)
diff --git a/testing/gda-provider-status.c b/testing/gda-provider-status.c
index 270ff00..faf33d9 100644
--- a/testing/gda-provider-status.c
+++ b/testing/gda-provider-status.c
@@ -33,7 +33,7 @@ gchar *outfile = NULL;
static GOptionEntry entries[] = {
{ "no-password-ask", 'p', 0, G_OPTION_ARG_NONE, &ask_pass, "Don't ast for a password when it is empty", NULL },
{ "output-file", 'o', 0, G_OPTION_ARG_STRING, &outfile, "Output file", "output file"},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
HtmlConfig *config;
diff --git a/testing/gda-test-blob.c b/testing/gda-test-blob.c
index ca6bda6..f72f35e 100644
--- a/testing/gda-test-blob.c
+++ b/testing/gda-test-blob.c
@@ -16,7 +16,7 @@ static GOptionEntry entries[] = {
{ "dsn", 's', 0, G_OPTION_ARG_STRING, &dsn, "Data source", NULL},
{ "user", 'U', 0, G_OPTION_ARG_STRING, &user, "Username", "username" },
{ "password", 'P', 0, G_OPTION_ARG_STRING, &pass, "Password", "password" },
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static gboolean clear_blobs (GdaConnection *cnc, GError **error);
diff --git a/testing/gda-test-connection.c b/testing/gda-test-connection.c
index 6466956..cce0372 100644
--- a/testing/gda-test-connection.c
+++ b/testing/gda-test-connection.c
@@ -14,7 +14,7 @@ static GOptionEntry entries[] = {
{ "dsn", 's', 0, G_OPTION_ARG_STRING, &dsn, "Data source", NULL},
{ "user", 'U', 0, G_OPTION_ARG_STRING, &user, "Username", "username" },
{ "password", 'P', 0, G_OPTION_ARG_STRING, &pass, "Password", "password" },
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
diff --git a/testing/gdaui-test-data-entries.c b/testing/gdaui-test-data-entries.c
index 1e64271..403af2b 100644
--- a/testing/gdaui-test-data-entries.c
+++ b/testing/gdaui-test-data-entries.c
@@ -100,7 +100,7 @@ static void plugin_hash_foreach_func (const gchar *plugin_name, GdauiPlugin *plu
gchar *test_type;
static GOptionEntry entries[] = {
{ "test-type", 't', 0, G_OPTION_ARG_STRING, &test_type, "Test condition", "{basic,form,grid}"},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
int
diff --git a/tests/data-model-errors.c b/tests/data-model-errors.c
index 773ea32..6680d35 100644
--- a/tests/data-model-errors.c
+++ b/tests/data-model-errors.c
@@ -226,7 +226,8 @@ data_model_errors_get_type (void)
NULL,
sizeof (DataModelErrors),
0,
- (GInstanceInitFunc) data_model_errors_init
+ (GInstanceInitFunc) data_model_errors_init,
+ 0
};
static const GInterfaceInfo data_model_info = {
(GInterfaceInitFunc) data_model_errors_data_model_init,
diff --git a/tests/gda-ddl-creator.c b/tests/gda-ddl-creator.c
index 3796667..30d6ba8 100644
--- a/tests/gda-ddl-creator.c
+++ b/tests/gda-ddl-creator.c
@@ -115,7 +115,8 @@ gda_ddl_creator_get_type (void) {
NULL,
sizeof (GdaDDLCreator),
0,
- (GInstanceInitFunc) gda_ddl_creator_init
+ (GInstanceInitFunc) gda_ddl_creator_init,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/tools/browser/auth-dialog.c b/tools/browser/auth-dialog.c
index c04da4f..efc2c06 100644
--- a/tools/browser/auth-dialog.c
+++ b/tools/browser/auth-dialog.c
@@ -98,7 +98,8 @@ auth_dialog_get_type (void)
NULL,
sizeof (AuthDialog),
0,
- (GInstanceInitFunc) auth_dialog_init
+ (GInstanceInitFunc) auth_dialog_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/browser-connection.c b/tools/browser/browser-connection.c
index 0a98ec9..6bdb554 100644
--- a/tools/browser/browser-connection.c
+++ b/tools/browser/browser-connection.c
@@ -170,7 +170,8 @@ browser_connection_get_type (void)
NULL,
sizeof (BrowserConnection),
0,
- (GInstanceInitFunc) browser_connection_init
+ (GInstanceInitFunc) browser_connection_init,
+ 0
};
diff --git a/tools/browser/browser-connections-list.c b/tools/browser/browser-connections-list.c
index f3be8b2..0162c98 100644
--- a/tools/browser/browser-connections-list.c
+++ b/tools/browser/browser-connections-list.c
@@ -70,7 +70,8 @@ browser_connections_list_get_type (void)
NULL,
sizeof (BrowserConnectionsList),
0,
- (GInstanceInitFunc) browser_connections_list_init
+ (GInstanceInitFunc) browser_connections_list_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/browser-core.c b/tools/browser/browser-core.c
index 109ed28..3f7aabe 100644
--- a/tools/browser/browser-core.c
+++ b/tools/browser/browser-core.c
@@ -69,7 +69,8 @@ browser_core_get_type (void)
NULL,
sizeof (BrowserCore),
0,
- (GInstanceInitFunc) browser_core_init
+ (GInstanceInitFunc) browser_core_init,
+ 0
};
diff --git a/tools/browser/browser-favorites.c b/tools/browser/browser-favorites.c
index a5fd898..7f1792f 100644
--- a/tools/browser/browser-favorites.c
+++ b/tools/browser/browser-favorites.c
@@ -65,7 +65,8 @@ browser_favorites_get_type (void)
NULL,
sizeof (BrowserFavorites),
0,
- (GInstanceInitFunc) browser_favorites_init
+ (GInstanceInitFunc) browser_favorites_init,
+ 0
};
diff --git a/tools/browser/browser-page.c b/tools/browser/browser-page.c
index c60b373..fdcdc39 100644
--- a/tools/browser/browser-page.c
+++ b/tools/browser/browser-page.c
@@ -41,7 +41,8 @@ browser_page_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/tools/browser/browser-perspective.c b/tools/browser/browser-perspective.c
index 620ae8f..97dd40b 100644
--- a/tools/browser/browser-perspective.c
+++ b/tools/browser/browser-perspective.c
@@ -41,7 +41,8 @@ browser_perspective_get_type (void)
NULL,
0,
0,
- (GInstanceInitFunc) NULL
+ (GInstanceInitFunc) NULL,
+ 0
};
g_static_rec_mutex_lock (&init_mutex);
diff --git a/tools/browser/browser-variable.c b/tools/browser/browser-variable.c
index ddaab6d..cbfff79 100644
--- a/tools/browser/browser-variable.c
+++ b/tools/browser/browser-variable.c
@@ -51,7 +51,8 @@ browser_variable_get_type (void)
NULL,
sizeof (BrowserVariable),
0,
- (GInstanceInitFunc) browser_variable_init
+ (GInstanceInitFunc) browser_variable_init,
+ 0
};
diff --git a/tools/browser/browser-virtual-connection.c b/tools/browser/browser-virtual-connection.c
index 3c62977..8236df8 100644
--- a/tools/browser/browser-virtual-connection.c
+++ b/tools/browser/browser-virtual-connection.c
@@ -69,7 +69,8 @@ browser_virtual_connection_get_type (void)
NULL,
sizeof (BrowserVirtualConnection),
0,
- (GInstanceInitFunc) browser_virtual_connection_init
+ (GInstanceInitFunc) browser_virtual_connection_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/browser-window.c b/tools/browser/browser-window.c
index 8cfeb6e..c3f1577 100644
--- a/tools/browser/browser-window.c
+++ b/tools/browser/browser-window.c
@@ -131,7 +131,8 @@ browser_window_get_type (void)
NULL,
sizeof (BrowserWindow),
0,
- (GInstanceInitFunc) browser_window_init
+ (GInstanceInitFunc) browser_window_init,
+ 0
};
diff --git a/tools/browser/canvas/browser-canvas-column.c b/tools/browser/canvas/browser-canvas-column.c
index 75f9d42..1160d70 100644
--- a/tools/browser/canvas/browser-canvas-column.c
+++ b/tools/browser/canvas/browser-canvas-column.c
@@ -73,7 +73,8 @@ browser_canvas_column_get_type (void)
NULL,
sizeof (BrowserCanvasColumn),
0,
- (GInstanceInitFunc) browser_canvas_column_init
+ (GInstanceInitFunc) browser_canvas_column_init,
+ 0
};
type = g_type_register_static (TYPE_BROWSER_CANVAS_TEXT, "BrowserCanvasColumn", &info, 0);
diff --git a/tools/browser/canvas/browser-canvas-db-relations.c b/tools/browser/canvas/browser-canvas-db-relations.c
index 668e931..fcd577b 100644
--- a/tools/browser/canvas/browser-canvas-db-relations.c
+++ b/tools/browser/canvas/browser-canvas-db-relations.c
@@ -84,7 +84,8 @@ browser_canvas_db_relations_get_type (void)
NULL,
sizeof (BrowserCanvasDbRelations),
0,
- (GInstanceInitFunc) browser_canvas_db_relations_init
+ (GInstanceInitFunc) browser_canvas_db_relations_init,
+ 0
};
type = g_type_register_static (TYPE_BROWSER_CANVAS, "BrowserCanvasDbRelations", &info, 0);
diff --git a/tools/browser/canvas/browser-canvas-fkey.c b/tools/browser/canvas/browser-canvas-fkey.c
index b00b864..cd3621f 100644
--- a/tools/browser/canvas/browser-canvas-fkey.c
+++ b/tools/browser/canvas/browser-canvas-fkey.c
@@ -84,7 +84,8 @@ browser_canvas_fkey_get_type (void)
NULL,
sizeof (BrowserCanvasFkey),
0,
- (GInstanceInitFunc) browser_canvas_fkey_init
+ (GInstanceInitFunc) browser_canvas_fkey_init,
+ 0
};
type = g_type_register_static (TYPE_BROWSER_CANVAS_ITEM, "BrowserCanvasFkey", &info, 0);
diff --git a/tools/browser/canvas/browser-canvas-item.c b/tools/browser/canvas/browser-canvas-item.c
index 4f1efab..9152931 100644
--- a/tools/browser/canvas/browser-canvas-item.c
+++ b/tools/browser/canvas/browser-canvas-item.c
@@ -83,7 +83,8 @@ browser_canvas_item_get_type (void)
NULL,
sizeof (BrowserCanvasItem),
0,
- (GInstanceInitFunc) browser_canvas_item_init
+ (GInstanceInitFunc) browser_canvas_item_init,
+ 0
};
type = g_type_register_static (GOO_TYPE_CANVAS_GROUP, "BrowserCanvasItem", &info, 0);
}
diff --git a/tools/browser/canvas/browser-canvas-table.c b/tools/browser/canvas/browser-canvas-table.c
index ea0cec2..a27e16e 100644
--- a/tools/browser/canvas/browser-canvas-table.c
+++ b/tools/browser/canvas/browser-canvas-table.c
@@ -87,7 +87,8 @@ browser_canvas_table_get_type (void)
NULL,
sizeof (BrowserCanvasTable),
0,
- (GInstanceInitFunc) browser_canvas_table_init
+ (GInstanceInitFunc) browser_canvas_table_init,
+ 0
};
type = g_type_register_static (TYPE_BROWSER_CANVAS_ITEM, "BrowserCanvasTable", &info, 0);
diff --git a/tools/browser/canvas/browser-canvas-text.c b/tools/browser/canvas/browser-canvas-text.c
index 1750846..5110c8d 100644
--- a/tools/browser/canvas/browser-canvas-text.c
+++ b/tools/browser/canvas/browser-canvas-text.c
@@ -88,7 +88,8 @@ browser_canvas_text_get_type (void)
NULL,
sizeof (BrowserCanvasText),
0,
- (GInstanceInitFunc) browser_canvas_text_init
+ (GInstanceInitFunc) browser_canvas_text_init,
+ 0
};
type = g_type_register_static (TYPE_BROWSER_CANVAS_ITEM, "BrowserCanvasText", &info, 0);
diff --git a/tools/browser/canvas/browser-canvas.c b/tools/browser/canvas/browser-canvas.c
index 129cd0c..197cc74 100644
--- a/tools/browser/canvas/browser-canvas.c
+++ b/tools/browser/canvas/browser-canvas.c
@@ -87,7 +87,8 @@ browser_canvas_get_type (void)
NULL,
sizeof (BrowserCanvas),
0,
- (GInstanceInitFunc) browser_canvas_init
+ (GInstanceInitFunc) browser_canvas_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_SCROLLED_WINDOW, "BrowserCanvas", &info, 0);
diff --git a/tools/browser/common/gdaui-data-import.c b/tools/browser/common/gdaui-data-import.c
index f96d3fa..7d219d9 100644
--- a/tools/browser/common/gdaui-data-import.c
+++ b/tools/browser/common/gdaui-data-import.c
@@ -82,7 +82,8 @@ gdaui_data_import_get_type (void)
NULL,
sizeof (GdauiDataImport),
0,
- (GInstanceInitFunc) gdaui_data_import_init
+ (GInstanceInitFunc) gdaui_data_import_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VPANED, "GdauiDataImport", &info, 0);
diff --git a/tools/browser/common/gdaui-entry-import.c b/tools/browser/common/gdaui-entry-import.c
index 9aac979..a8cf6ae 100644
--- a/tools/browser/common/gdaui-entry-import.c
+++ b/tools/browser/common/gdaui-entry-import.c
@@ -66,7 +66,8 @@ gdaui_entry_import_get_type (void)
NULL,
sizeof (GdauiEntryImport),
0,
- (GInstanceInitFunc) gdaui_entry_import_init
+ (GInstanceInitFunc) gdaui_entry_import_init,
+ 0
};
type = g_type_register_static (GDAUI_TYPE_ENTRY_WRAPPER, "GdauiEntryImport", &info, 0);
diff --git a/tools/browser/common/objects-cloud.c b/tools/browser/common/objects-cloud.c
index 5d9615d..9190b21 100644
--- a/tools/browser/common/objects-cloud.c
+++ b/tools/browser/common/objects-cloud.c
@@ -126,7 +126,8 @@ objects_cloud_get_type (void)
NULL,
sizeof (ObjectsCloud),
0,
- (GInstanceInitFunc) objects_cloud_init
+ (GInstanceInitFunc) objects_cloud_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "ObjectsCloud",
&info, 0);
diff --git a/tools/browser/common/ui-formgrid.c b/tools/browser/common/ui-formgrid.c
index 9c363e2..4f4ee7e 100644
--- a/tools/browser/common/ui-formgrid.c
+++ b/tools/browser/common/ui-formgrid.c
@@ -75,7 +75,8 @@ ui_formgrid_get_type (void)
NULL,
sizeof (UiFormGrid),
0,
- (GInstanceInitFunc) ui_formgrid_init
+ (GInstanceInitFunc) ui_formgrid_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "UiFormGrid", &info, 0);
diff --git a/tools/browser/connection-binding-properties.c b/tools/browser/connection-binding-properties.c
index 5fcf476..49bf0bb 100644
--- a/tools/browser/connection-binding-properties.c
+++ b/tools/browser/connection-binding-properties.c
@@ -63,7 +63,8 @@ connection_binding_properties_get_type (void)
NULL,
sizeof (ConnectionBindingProperties),
0,
- (GInstanceInitFunc) connection_binding_properties_init
+ (GInstanceInitFunc) connection_binding_properties_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/data-manager/data-console.c b/tools/browser/data-manager/data-console.c
index 5d61cd7..f969320 100644
--- a/tools/browser/data-manager/data-console.c
+++ b/tools/browser/data-manager/data-console.c
@@ -225,7 +225,8 @@ data_console_get_type (void)
NULL,
sizeof (DataConsole),
0,
- (GInstanceInitFunc) data_console_init
+ (GInstanceInitFunc) data_console_init,
+ 0
};
static GInterfaceInfo page_console = {
diff --git a/tools/browser/data-manager/data-favorite-selector.c b/tools/browser/data-manager/data-favorite-selector.c
index 02712a6..1ebc9cf 100644
--- a/tools/browser/data-manager/data-favorite-selector.c
+++ b/tools/browser/data-manager/data-favorite-selector.c
@@ -169,7 +169,8 @@ data_favorite_selector_get_type (void)
NULL,
sizeof (DataFavoriteSelector),
0,
- (GInstanceInitFunc) data_favorite_selector_init
+ (GInstanceInitFunc) data_favorite_selector_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "DataFavoriteSelector",
&info, 0);
diff --git a/tools/browser/data-manager/data-manager-perspective.c b/tools/browser/data-manager/data-manager-perspective.c
index b87706b..1cf6525 100644
--- a/tools/browser/data-manager/data-manager-perspective.c
+++ b/tools/browser/data-manager/data-manager-perspective.c
@@ -72,7 +72,8 @@ data_manager_perspective_get_type (void)
NULL,
sizeof (DataManagerPerspective),
0,
- (GInstanceInitFunc) data_manager_perspective_init
+ (GInstanceInitFunc) data_manager_perspective_init,
+ 0
};
static GInterfaceInfo perspective_info = {
diff --git a/tools/browser/data-manager/data-source-editor.c b/tools/browser/data-manager/data-source-editor.c
index f963871..4cc8ae5 100644
--- a/tools/browser/data-manager/data-source-editor.c
+++ b/tools/browser/data-manager/data-source-editor.c
@@ -64,7 +64,8 @@ data_source_editor_get_type (void)
NULL,
sizeof (DataSourceEditor),
0,
- (GInstanceInitFunc) data_source_editor_init
+ (GInstanceInitFunc) data_source_editor_init,
+ 0
};
diff --git a/tools/browser/data-manager/data-source-manager.c b/tools/browser/data-manager/data-source-manager.c
index f2ae498..46ccd0a 100644
--- a/tools/browser/data-manager/data-source-manager.c
+++ b/tools/browser/data-manager/data-source-manager.c
@@ -75,7 +75,8 @@ data_source_manager_get_type (void)
NULL,
sizeof (DataSourceManager),
0,
- (GInstanceInitFunc) data_source_manager_init
+ (GInstanceInitFunc) data_source_manager_init,
+ 0
};
diff --git a/tools/browser/data-manager/data-source.c b/tools/browser/data-manager/data-source.c
index 9249df6..90483b4 100644
--- a/tools/browser/data-manager/data-source.c
+++ b/tools/browser/data-manager/data-source.c
@@ -172,7 +172,8 @@ data_source_get_type (void)
NULL,
sizeof (DataSource),
0,
- (GInstanceInitFunc) data_source_init
+ (GInstanceInitFunc) data_source_init,
+ 0
};
diff --git a/tools/browser/data-manager/data-widget.c b/tools/browser/data-manager/data-widget.c
index 5e3a075..387364e 100644
--- a/tools/browser/data-manager/data-widget.c
+++ b/tools/browser/data-manager/data-widget.c
@@ -145,7 +145,8 @@ data_widget_get_type (void)
NULL,
sizeof (DataWidget),
0,
- (GInstanceInitFunc) data_widget_init
+ (GInstanceInitFunc) data_widget_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "DataWidget", &info, 0);
}
diff --git a/tools/browser/data-manager/ui-spec-editor.c b/tools/browser/data-manager/ui-spec-editor.c
index 4b013dd..7d0602a 100644
--- a/tools/browser/data-manager/ui-spec-editor.c
+++ b/tools/browser/data-manager/ui-spec-editor.c
@@ -233,7 +233,8 @@ ui_spec_editor_get_type (void)
NULL,
sizeof (UiSpecEditor),
0,
- (GInstanceInitFunc) ui_spec_editor_init
+ (GInstanceInitFunc) ui_spec_editor_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "UiSpecEditor", &info, 0);
}
diff --git a/tools/browser/data-manager/xml-spec-editor.c b/tools/browser/data-manager/xml-spec-editor.c
index 3b41010..174c512 100644
--- a/tools/browser/data-manager/xml-spec-editor.c
+++ b/tools/browser/data-manager/xml-spec-editor.c
@@ -109,7 +109,8 @@ xml_spec_editor_get_type (void)
NULL,
sizeof (XmlSpecEditor),
0,
- (GInstanceInitFunc) xml_spec_editor_init
+ (GInstanceInitFunc) xml_spec_editor_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "XmlSpecEditor", &info, 0);
}
diff --git a/tools/browser/dummy-perspective/dummy-perspective.c b/tools/browser/dummy-perspective/dummy-perspective.c
index 75c5a76..4ba1ce1 100644
--- a/tools/browser/dummy-perspective/dummy-perspective.c
+++ b/tools/browser/dummy-perspective/dummy-perspective.c
@@ -52,7 +52,8 @@ dummy_perspective_get_type (void)
NULL,
sizeof (DummyPerspective),
0,
- (GInstanceInitFunc) dummy_perspective_init
+ (GInstanceInitFunc) dummy_perspective_init,
+ 0
};
static GInterfaceInfo perspective_info = {
diff --git a/tools/browser/login-dialog.c b/tools/browser/login-dialog.c
index 2472cf2..740b5ca 100644
--- a/tools/browser/login-dialog.c
+++ b/tools/browser/login-dialog.c
@@ -67,7 +67,8 @@ login_dialog_get_type (void)
NULL,
sizeof (LoginDialog),
0,
- (GInstanceInitFunc) login_dialog_init
+ (GInstanceInitFunc) login_dialog_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/main.c b/tools/browser/main.c
index 88ea6d9..e1f62c1 100644
--- a/tools/browser/main.c
+++ b/tools/browser/main.c
@@ -56,7 +56,7 @@ gchar *perspective = NULL;
static GOptionEntry entries[] = {
{ "perspective", 'p', 0, G_OPTION_ARG_STRING, &perspective, "Perspective", "default perspective "
"to use when opening windows"},
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
int
diff --git a/tools/browser/mgr-favorites.c b/tools/browser/mgr-favorites.c
index 7bcd232..5171db6 100644
--- a/tools/browser/mgr-favorites.c
+++ b/tools/browser/mgr-favorites.c
@@ -126,7 +126,8 @@ mgr_favorites_get_type (void)
NULL,
sizeof (MgrFavorites),
0,
- (GInstanceInitFunc) mgr_favorites_init
+ (GInstanceInitFunc) mgr_favorites_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/query-exec/query-console.c b/tools/browser/query-exec/query-console.c
index 902dccb..cf37d77 100644
--- a/tools/browser/query-exec/query-console.c
+++ b/tools/browser/query-exec/query-console.c
@@ -235,7 +235,8 @@ query_console_get_type (void)
NULL,
sizeof (QueryConsole),
0,
- (GInstanceInitFunc) query_console_init
+ (GInstanceInitFunc) query_console_init,
+ 0
};
static GInterfaceInfo page_console = {
diff --git a/tools/browser/query-exec/query-editor.c b/tools/browser/query-exec/query-editor.c
index f975e17..5cf1b84 100644
--- a/tools/browser/query-exec/query-editor.c
+++ b/tools/browser/query-exec/query-editor.c
@@ -856,7 +856,8 @@ query_editor_get_type (void)
NULL,
sizeof (QueryEditor),
0,
- (GInstanceInitFunc) query_editor_init
+ (GInstanceInitFunc) query_editor_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "QueryEditor", &info, 0);
}
diff --git a/tools/browser/query-exec/query-exec-perspective.c b/tools/browser/query-exec/query-exec-perspective.c
index 3bf6fb0..f8d8066 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -78,7 +78,8 @@ query_exec_perspective_get_type (void)
NULL,
sizeof (QueryExecPerspective),
0,
- (GInstanceInitFunc) query_exec_perspective_init
+ (GInstanceInitFunc) query_exec_perspective_init,
+ 0
};
static GInterfaceInfo perspective_info = {
diff --git a/tools/browser/query-exec/query-favorite-selector.c b/tools/browser/query-exec/query-favorite-selector.c
index 47977e9..8b4a23b 100644
--- a/tools/browser/query-exec/query-favorite-selector.c
+++ b/tools/browser/query-exec/query-favorite-selector.c
@@ -159,7 +159,8 @@ query_favorite_selector_get_type (void)
NULL,
sizeof (QueryFavoriteSelector),
0,
- (GInstanceInitFunc) query_favorite_selector_init
+ (GInstanceInitFunc) query_favorite_selector_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "QueryFavoriteSelector",
&info, 0);
diff --git a/tools/browser/query-exec/query-result.c b/tools/browser/query-exec/query-result.c
index 307fa29..ee19c68 100644
--- a/tools/browser/query-exec/query-result.c
+++ b/tools/browser/query-exec/query-result.c
@@ -136,7 +136,8 @@ query_result_get_type (void)
NULL,
sizeof (QueryResult),
0,
- (GInstanceInitFunc) query_result_init
+ (GInstanceInitFunc) query_result_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "QueryResult", &info, 0);
}
diff --git a/tools/browser/schema-browser/favorite-selector.c b/tools/browser/schema-browser/favorite-selector.c
index 780fc11..66d0c89 100644
--- a/tools/browser/schema-browser/favorite-selector.c
+++ b/tools/browser/schema-browser/favorite-selector.c
@@ -138,7 +138,8 @@ favorite_selector_get_type (void)
NULL,
sizeof (FavoriteSelector),
0,
- (GInstanceInitFunc) favorite_selector_init
+ (GInstanceInitFunc) favorite_selector_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "FavoriteSelector",
&info, 0);
diff --git a/tools/browser/schema-browser/mgr-columns.c b/tools/browser/schema-browser/mgr-columns.c
index 433e062..3617868 100644
--- a/tools/browser/schema-browser/mgr-columns.c
+++ b/tools/browser/schema-browser/mgr-columns.c
@@ -136,7 +136,8 @@ mgr_columns_get_type (void)
NULL,
sizeof (MgrColumns),
0,
- (GInstanceInitFunc) mgr_columns_init
+ (GInstanceInitFunc) mgr_columns_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/browser/schema-browser/objects-index.c b/tools/browser/schema-browser/objects-index.c
index 4e04163..817d824 100644
--- a/tools/browser/schema-browser/objects-index.c
+++ b/tools/browser/schema-browser/objects-index.c
@@ -123,7 +123,8 @@ objects_index_get_type (void)
NULL,
sizeof (ObjectsIndex),
0,
- (GInstanceInitFunc) objects_index_init
+ (GInstanceInitFunc) objects_index_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "ObjectsIndex",
&info, 0);
diff --git a/tools/browser/schema-browser/relations-diagram.c b/tools/browser/schema-browser/relations-diagram.c
index 14cef2b..33e8d28 100644
--- a/tools/browser/schema-browser/relations-diagram.c
+++ b/tools/browser/schema-browser/relations-diagram.c
@@ -150,7 +150,8 @@ relations_diagram_get_type (void)
NULL,
sizeof (RelationsDiagram),
0,
- (GInstanceInitFunc) relations_diagram_init
+ (GInstanceInitFunc) relations_diagram_init,
+ 0
};
static GInterfaceInfo page_info = {
(GInterfaceInitFunc) relations_diagram_page_init,
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c b/tools/browser/schema-browser/schema-browser-perspective.c
index aa9b1f4..341d1ab 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -72,7 +72,8 @@ schema_browser_perspective_get_type (void)
NULL,
sizeof (SchemaBrowserPerspective),
0,
- (GInstanceInitFunc) schema_browser_perspective_init
+ (GInstanceInitFunc) schema_browser_perspective_init,
+ 0
};
static GInterfaceInfo perspective_info = {
diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c
index 586dcca..fcbd33c 100644
--- a/tools/browser/schema-browser/table-columns.c
+++ b/tools/browser/schema-browser/table-columns.c
@@ -113,7 +113,8 @@ table_columns_get_type (void)
NULL,
sizeof (TableColumns),
0,
- (GInstanceInitFunc) table_columns_init
+ (GInstanceInitFunc) table_columns_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "TableColumns", &columns, 0);
}
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index 38e1ae2..f03c34c 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -159,7 +159,8 @@ table_info_get_type (void)
NULL,
sizeof (TableInfo),
0,
- (GInstanceInitFunc) table_info_init
+ (GInstanceInitFunc) table_info_init,
+ 0
};
static GInterfaceInfo page_info = {
diff --git a/tools/browser/schema-browser/table-preferences.c b/tools/browser/schema-browser/table-preferences.c
index a651400..17786ad 100644
--- a/tools/browser/schema-browser/table-preferences.c
+++ b/tools/browser/schema-browser/table-preferences.c
@@ -138,7 +138,8 @@ table_preferences_get_type (void)
NULL,
sizeof (TablePreferences),
0,
- (GInstanceInitFunc) table_preferences_init
+ (GInstanceInitFunc) table_preferences_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "TablePreferences", &preferences, 0);
}
diff --git a/tools/browser/schema-browser/table-relations.c b/tools/browser/schema-browser/table-relations.c
index 1b0cdff..f135e80 100644
--- a/tools/browser/schema-browser/table-relations.c
+++ b/tools/browser/schema-browser/table-relations.c
@@ -105,7 +105,8 @@ table_relations_get_type (void)
NULL,
sizeof (TableRelations),
0,
- (GInstanceInitFunc) table_relations_init
+ (GInstanceInitFunc) table_relations_init,
+ 0
};
type = g_type_register_static (GTK_TYPE_VBOX, "TableRelations", &relations, 0);
}
diff --git a/tools/gda-list-server-op.c b/tools/gda-list-server-op.c
index e000ca8..37daa68 100644
--- a/tools/gda-list-server-op.c
+++ b/tools/gda-list-server-op.c
@@ -15,7 +15,7 @@ static GOptionEntry entries[] = {
{ "provider", 'p', 0, G_OPTION_ARG_STRING, &prov, "Provider name", "provider"},
{ "op", 'o', 0, G_OPTION_ARG_STRING, &op, "Operation", "operation name"},
{ "list-ops", 'l', 0, G_OPTION_ARG_NONE, &list_ops, "List existing operations", NULL },
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
static xmlDocPtr merge_specs (const gchar *xml_dir, GdaServerOperationType type, gboolean *op_supported, GError **error);
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index 338f67d..e8a4506 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -89,7 +89,7 @@ static GOptionEntry entries[] = {
{ "http-port", 's', 0, G_OPTION_ARG_INT, &http_port, "Run embedded HTTP server on specified port", "port" },
{ "http-token", 't', 0, G_OPTION_ARG_STRING, &auth_token, "Authentication token (required to authenticate clients)", "token phrase" },
#endif
- { NULL }
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
};
/* interruption handling */
@@ -123,7 +123,7 @@ typedef struct {
WebServer *server;
#endif
} MainData;
-MainData *main_data;
+ MainData *main_data;
GString *prompt = NULL;
GMainLoop *main_loop = NULL;
diff --git a/tools/gda-threader.c b/tools/gda-threader.c
index dbe1e5a..4cf4632 100644
--- a/tools/gda-threader.c
+++ b/tools/gda-threader.c
@@ -80,7 +80,8 @@ gda_threader_get_type (void)
NULL,
sizeof (GdaThreader),
0,
- (GInstanceInitFunc) gda_threader_init
+ (GInstanceInitFunc) gda_threader_init,
+ 0
};
g_static_mutex_lock (®istering);
diff --git a/tools/web-server.c b/tools/web-server.c
index efb5985..5851888 100644
--- a/tools/web-server.c
+++ b/tools/web-server.c
@@ -128,7 +128,8 @@ web_server_get_type (void)
NULL,
sizeof (WebServer),
0,
- (GInstanceInitFunc) web_server_init
+ (GInstanceInitFunc) web_server_init,
+ 0
};
g_static_mutex_lock (®istering);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]