Warnings: missing initializer for value_tables and function type cast (GObject)
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 24 Aug 2020 08:57:10 +0000 (10:57 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 24 Aug 2020 18:24:29 +0000 (20:24 +0200)
commitdcd593ebc418681f2a7f14795b13f94eaa95ccaf
tree9253b3e1f9ae9751ed1477ea4a7b215802e8b89a
parentcc0afe999a50963f6419dd3b9d3f00f50b26c760
Warnings: missing initializer for value_tables and function type cast (GObject)

I fixed the warnings:
warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’
warning: cast between incompatible function types
by replacing the handwritten type info code with G_DEFINE_TYPE...
macros (preferred). When this was not possible due to usage of
base init functions I added casts and the initializer.
22 files changed:
src/ui/gui/psppire-buttonbox.c
src/ui/gui/psppire-checkbox-treeview.c
src/ui/gui/psppire-conf.c
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-store.c
src/ui/gui/psppire-data-window.c
src/ui/gui/psppire-delimited-text.c
src/ui/gui/psppire-dialog-action.c
src/ui/gui/psppire-dialog.c
src/ui/gui/psppire-dict.c
src/ui/gui/psppire-dictview.c
src/ui/gui/psppire-keypad.c
src/ui/gui/psppire-output-window.c
src/ui/gui/psppire-select-dest.c
src/ui/gui/psppire-selector.c
src/ui/gui/psppire-spreadsheet-model.c
src/ui/gui/psppire-syntax-window.c
src/ui/gui/psppire-text-file.c
src/ui/gui/psppire-val-chooser.c
src/ui/gui/psppire-var-view.c
src/ui/gui/psppire-window-register.c
src/ui/gui/psppire-window.c