From bf8ee6957083cb6ee7dfca08ae6a475f823f3017 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 18 Oct 2023 18:29:37 +0200 Subject: [PATCH] plug-ins: fix some broken macros with a massive search-and-replace. If we leave a space between the macro name and opening parenthese for argument lists, the args are not considered macro args (which will be discovered when using it). I experienced this issue while testing code on some plug-in yesterday, so thought I might as well fix all these broken macros for casting to the specific GimpPlugIn subclass, so that we won't have a next time. --- plug-ins/common/align-layers.c | 2 +- plug-ins/common/animation-optimize.c | 2 +- plug-ins/common/blinds.c | 2 +- plug-ins/common/border-average.c | 2 +- plug-ins/common/busy-dialog.c | 2 +- plug-ins/common/checkerboard.c | 2 +- plug-ins/common/cml-explorer.c | 2 +- plug-ins/common/compose.c | 2 +- plug-ins/common/contrast-retinex.c | 2 +- plug-ins/common/crop-zealous.c | 2 +- plug-ins/common/curve-bend.c | 2 +- plug-ins/common/decompose.c | 2 +- plug-ins/common/despeckle.c | 2 +- plug-ins/common/destripe.c | 2 +- plug-ins/common/file-aa.c | 2 +- plug-ins/common/file-cel.c | 2 +- plug-ins/common/file-compressor.c | 2 +- plug-ins/common/file-csource.c | 2 +- plug-ins/common/file-desktop-link.c | 2 +- plug-ins/common/file-dicom.c | 2 +- plug-ins/common/file-farbfeld.c | 2 +- plug-ins/common/file-gbr.c | 2 +- plug-ins/common/file-gegl.c | 2 +- plug-ins/common/file-gif-load.c | 2 +- plug-ins/common/file-gif-save.c | 2 +- plug-ins/common/file-gih.c | 2 +- plug-ins/common/file-glob.c | 4 ++-- plug-ins/common/file-header.c | 2 +- plug-ins/common/file-heif.c | 2 +- plug-ins/common/file-html-table.c | 2 +- plug-ins/common/file-iff.c | 2 +- plug-ins/common/file-jpegxl.c | 2 +- plug-ins/common/file-mng.c | 2 +- plug-ins/common/file-pat.c | 2 +- plug-ins/common/file-pcx.c | 2 +- plug-ins/common/file-pdf-load.c | 2 +- plug-ins/common/file-pdf-save.c | 2 +- plug-ins/common/file-pix.c | 2 +- plug-ins/common/file-png.c | 4 ++-- plug-ins/common/file-pnm.c | 2 +- plug-ins/common/file-ps.c | 2 +- plug-ins/common/file-psp.c | 2 +- plug-ins/common/file-qoi.c | 2 +- plug-ins/common/file-raw-data.c | 2 +- plug-ins/common/file-sunras.c | 2 +- plug-ins/common/file-svg.c | 2 +- plug-ins/common/file-tga.c | 2 +- plug-ins/common/file-wbmp.c | 2 +- plug-ins/common/file-wmf.c | 2 +- plug-ins/common/file-xbm.c | 2 +- plug-ins/common/file-xmc.c | 2 +- plug-ins/common/file-xpm.c | 2 +- plug-ins/common/file-xwd.c | 2 +- plug-ins/common/film.c | 2 +- plug-ins/common/gradient-map.c | 2 +- plug-ins/common/guillotine.c | 2 +- plug-ins/common/hot.c | 2 +- plug-ins/common/jigsaw.c | 2 +- plug-ins/common/mail.c | 2 +- plug-ins/common/nl-filter.c | 2 +- plug-ins/common/plugin-browser.c | 2 +- plug-ins/common/procedure-browser.c | 2 +- plug-ins/common/qbist.c | 2 +- plug-ins/common/sample-colorize.c | 2 +- plug-ins/common/smooth-palette.c | 2 +- plug-ins/common/sparkle.c | 2 +- plug-ins/common/sphere-designer.c | 2 +- plug-ins/common/tile-small.c | 2 +- plug-ins/common/tile.c | 2 +- plug-ins/common/van-gogh-lic.c | 2 +- plug-ins/common/warp.c | 2 +- plug-ins/common/wavelet-decompose.c | 2 +- plug-ins/common/web-browser.c | 2 +- plug-ins/common/web-page.c | 2 +- plug-ins/file-bmp/bmp.c | 2 +- plug-ins/file-dds/dds.c | 2 +- plug-ins/file-exr/file-exr.c | 2 +- plug-ins/file-fits/fits.c | 2 +- plug-ins/file-fli/fli-gimp.c | 2 +- plug-ins/file-icns/file-icns.c | 4 ++-- plug-ins/file-ico/ico.c | 2 +- plug-ins/file-jpeg/jpeg.c | 2 +- plug-ins/file-psd/psd.c | 2 +- plug-ins/file-raw/file-darktable.c | 2 +- plug-ins/file-raw/file-raw-placeholder.c | 2 +- plug-ins/file-raw/file-rawtherapee.c | 2 +- plug-ins/file-sgi/sgi.c | 2 +- plug-ins/file-tiff/file-tiff.c | 2 +- plug-ins/file-webp/file-webp.c | 2 +- plug-ins/flame/flame.c | 2 +- plug-ins/fractal-explorer/fractal-explorer.c | 2 +- plug-ins/gimpressionist/gimp.c | 2 +- plug-ins/gradient-flare/gradient-flare.c | 2 +- plug-ins/help/help.c | 2 +- plug-ins/lighting/lighting-main.c | 2 +- plug-ins/map-object/map-object-main.c | 2 +- plug-ins/metadata/metadata-editor.c | 2 +- plug-ins/metadata/metadata-viewer.c | 2 +- plug-ins/pagecurl/pagecurl.c | 2 +- plug-ins/print/print.c | 2 +- plug-ins/screenshot/screenshot.c | 2 +- plug-ins/twain/twain.c | 2 +- 102 files changed, 105 insertions(+), 105 deletions(-) diff --git a/plug-ins/common/align-layers.c b/plug-ins/common/align-layers.c index 655189f8c6..4a5e234a6b 100644 --- a/plug-ins/common/align-layers.c +++ b/plug-ins/common/align-layers.c @@ -85,7 +85,7 @@ struct _AlignLayersClass #define ALIGN_LAYERS_TYPE (align_layers_get_type ()) -#define ALIGN_LAYERS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ALIGN_LAYERS_TYPE, AlignLayers)) +#define ALIGN_LAYERS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ALIGN_LAYERS_TYPE, AlignLayers)) GType align_layers_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/animation-optimize.c b/plug-ins/common/animation-optimize.c index d798fb4a5f..aeec0578cb 100644 --- a/plug-ins/common/animation-optimize.c +++ b/plug-ins/common/animation-optimize.c @@ -75,7 +75,7 @@ struct _OptimizeClass #define OPTIMIZE_TYPE (optimize_get_type ()) -#define OPTIMIZE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), OPTIMIZE_TYPE, Optimize)) +#define OPTIMIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), OPTIMIZE_TYPE, Optimize)) GType optimize_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/blinds.c b/plug-ins/common/blinds.c index ed4c0b729d..c72e562d22 100644 --- a/plug-ins/common/blinds.c +++ b/plug-ins/common/blinds.c @@ -62,7 +62,7 @@ struct _BlindsClass #define BLINDS_TYPE (blinds_get_type ()) -#define BLINDS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BLINDS_TYPE, Blinds)) +#define BLINDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BLINDS_TYPE, Blinds)) GType blinds_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/border-average.c b/plug-ins/common/border-average.c index 61cdec2527..09d6c81f77 100644 --- a/plug-ins/common/border-average.c +++ b/plug-ins/common/border-average.c @@ -45,7 +45,7 @@ struct _BorderAverageClass #define BORDER_AVERAGE_TYPE (border_average_get_type ()) -#define BORDER_AVERAGE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BORDER_AVERAGE_TYPE, BorderAverage)) +#define BORDER_AVERAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BORDER_AVERAGE_TYPE, BorderAverage)) GType border_average_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/busy-dialog.c b/plug-ins/common/busy-dialog.c index d16f180fef..f6f1491814 100644 --- a/plug-ins/common/busy-dialog.c +++ b/plug-ins/common/busy-dialog.c @@ -53,7 +53,7 @@ struct _BusyDialogClass #define BUSY_DIALOG_TYPE (busy_dialog_get_type ()) -#define BUSY_DIALOG (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BUSY_DIALOG_TYPE, BusyDialog)) +#define BUSY_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BUSY_DIALOG_TYPE, BusyDialog)) GType busy_dialog_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/checkerboard.c b/plug-ins/common/checkerboard.c index c8a78c69d6..d6cc728cac 100644 --- a/plug-ins/common/checkerboard.c +++ b/plug-ins/common/checkerboard.c @@ -46,7 +46,7 @@ struct _CheckerboardClass #define CHECKERBOARD_TYPE (checkerboard_get_type ()) -#define CHECKERBOARD (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHECKERBOARD_TYPE, Checkerboard)) +#define CHECKERBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHECKERBOARD_TYPE, Checkerboard)) GType checkerboard_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/cml-explorer.c b/plug-ins/common/cml-explorer.c index e054d10154..c4161a7913 100644 --- a/plug-ins/common/cml-explorer.c +++ b/plug-ins/common/cml-explorer.c @@ -327,7 +327,7 @@ struct _ExplorerClass #define EXPLORER_TYPE (explorer_get_type ()) -#define EXPLORER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXPLORER_TYPE, Explorer)) +#define EXPLORER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXPLORER_TYPE, Explorer)) GType explorer_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/compose.c b/plug-ins/common/compose.c index 088f40b78c..a7b85e1c56 100644 --- a/plug-ins/common/compose.c +++ b/plug-ins/common/compose.c @@ -126,7 +126,7 @@ struct _ComposeClass #define COMPOSE_TYPE (compose_get_type ()) -#define COMPOSE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COMPOSE_TYPE, Compose)) +#define COMPOSE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COMPOSE_TYPE, Compose)) GType compose_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/contrast-retinex.c b/plug-ins/common/contrast-retinex.c index 6b22f05c4c..f346c085d1 100644 --- a/plug-ins/common/contrast-retinex.c +++ b/plug-ins/common/contrast-retinex.c @@ -75,7 +75,7 @@ struct _RetinexClass #define RETINEX_TYPE (retinex_get_type ()) -#define RETINEX (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RETINEX_TYPE, Retinex)) +#define RETINEX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RETINEX_TYPE, Retinex)) GType retinex_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/crop-zealous.c b/plug-ins/common/crop-zealous.c index 94a00ec176..eef300e492 100644 --- a/plug-ins/common/crop-zealous.c +++ b/plug-ins/common/crop-zealous.c @@ -44,7 +44,7 @@ struct _CropClass }; #define CROP_TYPE (crop_get_type ()) -#define CROP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CROP_TYPE, Crop)) +#define CROP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CROP_TYPE, Crop)) GType crop_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/curve-bend.c b/plug-ins/common/curve-bend.c index 643ae2f03f..aac68fbaf6 100644 --- a/plug-ins/common/curve-bend.c +++ b/plug-ins/common/curve-bend.c @@ -237,7 +237,7 @@ struct _BenderClass #define BENDER_TYPE (bender_get_type ()) -#define BENDER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BENDER_TYPE, Bender)) +#define BENDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BENDER_TYPE, Bender)) GType bender_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/decompose.c b/plug-ins/common/decompose.c index 18a51bb8be..704f03970c 100644 --- a/plug-ins/common/decompose.c +++ b/plug-ins/common/decompose.c @@ -87,7 +87,7 @@ struct _DecomposeClass #define DECOMPOSE_TYPE (decompose_get_type ()) -#define DECOMPOSE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DECOMPOSE_TYPE, Decompose)) +#define DECOMPOSE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DECOMPOSE_TYPE, Decompose)) GType decompose_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/despeckle.c b/plug-ins/common/despeckle.c index 9d2bde99bd..3f5b7a8871 100644 --- a/plug-ins/common/despeckle.c +++ b/plug-ins/common/despeckle.c @@ -81,7 +81,7 @@ struct _DespeckleClass #define DESPECKLE_TYPE (despeckle_get_type ()) -#define DESPECKLE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESPECKLE_TYPE, Despeckle)) +#define DESPECKLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESPECKLE_TYPE, Despeckle)) GType despeckle_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/destripe.c b/plug-ins/common/destripe.c index 1ede54e776..4f38d13e42 100644 --- a/plug-ins/common/destripe.c +++ b/plug-ins/common/destripe.c @@ -53,7 +53,7 @@ struct _DestripeClass #define DESTRIPE_TYPE (destripe_get_type ()) -#define DESTRIPE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESTRIPE_TYPE, Destripe)) +#define DESTRIPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESTRIPE_TYPE, Destripe)) GType destripe_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-aa.c b/plug-ins/common/file-aa.c index 3796509da2..65ea380fb5 100644 --- a/plug-ins/common/file-aa.c +++ b/plug-ins/common/file-aa.c @@ -56,7 +56,7 @@ struct _AsciiClass #define ASCII_TYPE (ascii_get_type ()) -#define ASCII (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ASCII_TYPE, Ascii)) +#define ASCII(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ASCII_TYPE, Ascii)) GType ascii_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-cel.c b/plug-ins/common/file-cel.c index 31ddffb426..8719a7561a 100644 --- a/plug-ins/common/file-cel.c +++ b/plug-ins/common/file-cel.c @@ -52,7 +52,7 @@ struct _CelClass #define CEL_TYPE (cel_get_type ()) -#define CEL (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CEL_TYPE, Cel)) +#define CEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CEL_TYPE, Cel)) GType cel_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-compressor.c b/plug-ins/common/file-compressor.c index 64a4b4214a..f37a3b0dbb 100644 --- a/plug-ins/common/file-compressor.c +++ b/plug-ins/common/file-compressor.c @@ -145,7 +145,7 @@ struct _CompressorClass #define COMPRESSOR_TYPE (compressor_get_type ()) -#define COMPRESSOR (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COMPRESSOR_TYPE, Compressor)) +#define COMPRESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COMPRESSOR_TYPE, Compressor)) GType compressor_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-csource.c b/plug-ins/common/file-csource.c index 488e65dbe9..7448907d0a 100644 --- a/plug-ins/common/file-csource.c +++ b/plug-ins/common/file-csource.c @@ -51,7 +51,7 @@ struct _CsourceClass #define CSOURCE_TYPE (csource_get_type ()) -#define CSOURCE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CSOURCE_TYPE, Csource)) +#define CSOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CSOURCE_TYPE, Csource)) GType csource_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-desktop-link.c b/plug-ins/common/file-desktop-link.c index b5df00d249..aec94f9a93 100644 --- a/plug-ins/common/file-desktop-link.c +++ b/plug-ins/common/file-desktop-link.c @@ -51,7 +51,7 @@ struct _DesktopClass #define DESKTOP_TYPE (desktop_get_type ()) -#define DESKTOP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESKTOP_TYPE, Desktop)) +#define DESKTOP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESKTOP_TYPE, Desktop)) GType desktop_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-dicom.c b/plug-ins/common/file-dicom.c index 24fdbfbff7..0a5e6b388f 100644 --- a/plug-ins/common/file-dicom.c +++ b/plug-ins/common/file-dicom.c @@ -77,7 +77,7 @@ struct _DicomClass #define DICOM_TYPE (dicom_get_type ()) -#define DICOM (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DICOM_TYPE, Dicom)) +#define DICOM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DICOM_TYPE, Dicom)) GType dicom_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-farbfeld.c b/plug-ins/common/file-farbfeld.c index 36b488c0f4..cfc3eb00db 100644 --- a/plug-ins/common/file-farbfeld.c +++ b/plug-ins/common/file-farbfeld.c @@ -54,7 +54,7 @@ struct _FarbfeldClass #define FARBFELD_TYPE (farbfeld_get_type ()) -#define FARBFELD (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FARBFELD_TYPE, Farbfeld)) +#define FARBFELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FARBFELD_TYPE, Farbfeld)) GType farbfeld_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-gbr.c b/plug-ins/common/file-gbr.c index 7562816e6a..bd9b740abc 100644 --- a/plug-ins/common/file-gbr.c +++ b/plug-ins/common/file-gbr.c @@ -59,7 +59,7 @@ struct _GbrClass #define GBR_TYPE (gbr_get_type ()) -#define GBR (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GBR_TYPE, Gbr)) +#define GBR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GBR_TYPE, Gbr)) GType gbr_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-gegl.c b/plug-ins/common/file-gegl.c index 496ed16b55..0be2e9e764 100644 --- a/plug-ins/common/file-gegl.c +++ b/plug-ins/common/file-gegl.c @@ -70,7 +70,7 @@ struct _GoatClass #define GOAT_TYPE (goat_get_type ()) -#define GOAT (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOAT_TYPE, Goat)) +#define GOAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOAT_TYPE, Goat)) GType goat_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-gif-load.c b/plug-ins/common/file-gif-load.c index 98daa94bc3..148548a91b 100644 --- a/plug-ins/common/file-gif-load.c +++ b/plug-ins/common/file-gif-load.c @@ -98,7 +98,7 @@ struct _GifClass #define GIF_TYPE (gif_get_type ()) -#define GIF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIF_TYPE, Gif)) +#define GIF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIF_TYPE, Gif)) GType gif_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-gif-save.c b/plug-ins/common/file-gif-save.c index 0ca086e918..ea84903f08 100644 --- a/plug-ins/common/file-gif-save.c +++ b/plug-ins/common/file-gif-save.c @@ -67,7 +67,7 @@ struct _GifClass #define GIF_TYPE (gif_get_type ()) -#define GIF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIF_TYPE, Gif)) +#define GIF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIF_TYPE, Gif)) GType gif_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c index 240e5cad70..99f47c087e 100644 --- a/plug-ins/common/file-gih.c +++ b/plug-ins/common/file-gih.c @@ -75,7 +75,7 @@ struct _GihClass #define GIH_TYPE (gih_get_type ()) -#define GIH (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIH_TYPE, Gih)) +#define GIH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIH_TYPE, Gih)) GType gih_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-glob.c b/plug-ins/common/file-glob.c index 3823298569..d8193c70d6 100644 --- a/plug-ins/common/file-glob.c +++ b/plug-ins/common/file-glob.c @@ -42,8 +42,8 @@ struct _GlobClass }; -#define GLOB_TYPE (glob_get_type ()) -#define GLOB (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLOB_TYPE, Glob)) +#define GLOB_TYPE (glob_get_type ()) +#define GLOB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLOB_TYPE, Glob)) GType glob_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-header.c b/plug-ins/common/file-header.c index 809d76bdbd..80ab10e557 100644 --- a/plug-ins/common/file-header.c +++ b/plug-ins/common/file-header.c @@ -45,7 +45,7 @@ struct _HeaderClass #define HEADER_TYPE (header_get_type ()) -#define HEADER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HEADER_TYPE, Header)) +#define HEADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HEADER_TYPE, Header)) GType header_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c index cdf8cdfcfe..b3ef1ecc9c 100644 --- a/plug-ins/common/file-heif.c +++ b/plug-ins/common/file-heif.c @@ -65,7 +65,7 @@ struct _GimpHeifClass #define GIMP_HEIF_TYPE (gimp_heif_get_type ()) -#define GIMP_HEIF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_HEIF_TYPE, GimpHeif)) +#define GIMP_HEIF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_HEIF_TYPE, GimpHeif)) GType gimp_heif_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-html-table.c b/plug-ins/common/file-html-table.c index 2ea287f22c..c6735d2270 100644 --- a/plug-ins/common/file-html-table.c +++ b/plug-ins/common/file-html-table.c @@ -76,7 +76,7 @@ struct _HtmlClass #define HTML_TYPE (html_get_type ()) -#define HTML (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE, Html)) +#define HTML(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HTML_TYPE, Html)) GType html_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-iff.c b/plug-ins/common/file-iff.c index 05a8023e8f..39863ff68a 100644 --- a/plug-ins/common/file-iff.c +++ b/plug-ins/common/file-iff.c @@ -57,7 +57,7 @@ struct _IffClass #define IFF_TYPE (iff_get_type ()) -#define IFF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IFF_TYPE, Iff)) +#define IFF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IFF_TYPE, Iff)) GType iff_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-jpegxl.c b/plug-ins/common/file-jpegxl.c index 240eed0716..5240082ed6 100644 --- a/plug-ins/common/file-jpegxl.c +++ b/plug-ins/common/file-jpegxl.c @@ -51,7 +51,7 @@ struct _JpegXLClass #define JPEGXL_TYPE (jpegxl_get_type ()) -#define JPEGXL (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JPEGXL_TYPE, JpegXL)) +#define JPEGXL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JPEGXL_TYPE, JpegXL)) GType jpegxl_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-mng.c b/plug-ins/common/file-mng.c index e0f7e65682..e3bb20cb0e 100644 --- a/plug-ins/common/file-mng.c +++ b/plug-ins/common/file-mng.c @@ -149,7 +149,7 @@ struct _MngClass #define MNG_TYPE (mng_get_type ()) -#define MNG (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MNG_TYPE, Mng)) +#define MNG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MNG_TYPE, Mng)) GType mng_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c index 080a8e2202..bced721585 100644 --- a/plug-ins/common/file-pat.c +++ b/plug-ins/common/file-pat.c @@ -46,7 +46,7 @@ struct _PatClass #define PAT_TYPE (pat_get_type ()) -#define PAT (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAT_TYPE, Pat)) +#define PAT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAT_TYPE, Pat)) GType pat_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pcx.c b/plug-ins/common/file-pcx.c index 885fafefa3..f2a53d164e 100644 --- a/plug-ins/common/file-pcx.c +++ b/plug-ins/common/file-pcx.c @@ -54,7 +54,7 @@ struct _PcxClass #define PCX_TYPE (pcx_get_type ()) -#define PCX (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PCX_TYPE, Pcx)) +#define PCX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PCX_TYPE, Pcx)) GType pcx_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c index accf5264b8..e709046467 100644 --- a/plug-ins/common/file-pdf-load.c +++ b/plug-ins/common/file-pdf-load.c @@ -213,7 +213,7 @@ struct _PdfClass #define PDF_TYPE (pdf_get_type ()) -#define PDF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PDF_TYPE, Pdf)) +#define PDF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PDF_TYPE, Pdf)) GType pdf_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c index 452284e8bd..fbfc047574 100644 --- a/plug-ins/common/file-pdf-save.c +++ b/plug-ins/common/file-pdf-save.c @@ -175,7 +175,7 @@ struct _PdfClass #define PDF_TYPE (pdf_get_type ()) -#define PDF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PDF_TYPE, Pdf)) +#define PDF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PDF_TYPE, Pdf)) GType pdf_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pix.c b/plug-ins/common/file-pix.c index 5bfe8b1389..62e66a975b 100644 --- a/plug-ins/common/file-pix.c +++ b/plug-ins/common/file-pix.c @@ -82,7 +82,7 @@ struct _PixClass #define PIX_TYPE (pix_get_type ()) -#define PIX (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIX_TYPE, Pix)) +#define PIX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIX_TYPE, Pix)) GType pix_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c index c2ae6052e6..ba8f648111 100644 --- a/plug-ins/common/file-png.c +++ b/plug-ins/common/file-png.c @@ -76,8 +76,8 @@ struct _PngClass }; -#define PNG_TYPE (png_get_type ()) -#define PNG (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PNG_TYPE, Png)) +#define PNG_TYPE (png_get_type ()) +#define PNG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PNG_TYPE, Png)) GType png_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c index 65a164c73e..23d7df73f1 100644 --- a/plug-ins/common/file-pnm.c +++ b/plug-ins/common/file-pnm.c @@ -136,7 +136,7 @@ struct _PnmClass #define PNM_TYPE (pnm_get_type ()) -#define PNM (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PNM_TYPE, Pnm)) +#define PNM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PNM_TYPE, Pnm)) GType pnm_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-ps.c b/plug-ins/common/file-ps.c index 3a619ddf03..c488289484 100644 --- a/plug-ins/common/file-ps.c +++ b/plug-ins/common/file-ps.c @@ -123,7 +123,7 @@ struct _PostScriptClass #define PS_TYPE (ps_get_type ()) -#define PS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PS_TYPE, PostScript)) +#define PS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PS_TYPE, PostScript)) GType ps_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-psp.c b/plug-ins/common/file-psp.c index 0386d3abed..ee4468f244 100644 --- a/plug-ins/common/file-psp.c +++ b/plug-ins/common/file-psp.c @@ -576,7 +576,7 @@ struct _PspClass #define PSP_TYPE (psp_get_type ()) -#define PSP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSP_TYPE, Psp)) +#define PSP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSP_TYPE, Psp)) GType psp_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-qoi.c b/plug-ins/common/file-qoi.c index dc620a6848..be4523e528 100644 --- a/plug-ins/common/file-qoi.c +++ b/plug-ins/common/file-qoi.c @@ -56,7 +56,7 @@ struct _QoiClass #define QOI_TYPE (qoi_get_type ()) -#define QOI (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QOI_TYPE, Qoi)) +#define QOI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QOI_TYPE, Qoi)) GType qoi_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-raw-data.c b/plug-ins/common/file-raw-data.c index 24878a9a1f..bcd45e475f 100644 --- a/plug-ins/common/file-raw-data.c +++ b/plug-ins/common/file-raw-data.c @@ -156,7 +156,7 @@ struct _RawClass #define RAW_TYPE (raw_get_type ()) -#define RAW (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RAW_TYPE, Raw)) +#define RAW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RAW_TYPE, Raw)) GType raw_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-sunras.c b/plug-ins/common/file-sunras.c index b12cbcba1e..e209f87afa 100644 --- a/plug-ins/common/file-sunras.c +++ b/plug-ins/common/file-sunras.c @@ -102,7 +102,7 @@ struct _SunrasClass #define SUNRAS_TYPE (sunras_get_type ()) -#define SUNRAS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SUNRAS_TYPE, Sunras)) +#define SUNRAS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SUNRAS_TYPE, Sunras)) GType sunras_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-svg.c b/plug-ins/common/file-svg.c index 2586a9ad9c..061fe2dbb3 100644 --- a/plug-ins/common/file-svg.c +++ b/plug-ins/common/file-svg.c @@ -67,7 +67,7 @@ struct _SvgClass #define SVG_TYPE (svg_get_type ()) -#define SVG (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SVG_TYPE, Svg)) +#define SVG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SVG_TYPE, Svg)) GType svg_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-tga.c b/plug-ins/common/file-tga.c index 4954a000ef..d2ba2fbd2d 100644 --- a/plug-ins/common/file-tga.c +++ b/plug-ins/common/file-tga.c @@ -166,7 +166,7 @@ struct _TgaClass #define TGA_TYPE (tga_get_type ()) -#define TGA (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TGA_TYPE, Tga)) +#define TGA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TGA_TYPE, Tga)) GType tga_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-wbmp.c b/plug-ins/common/file-wbmp.c index fcd471e116..8606171a66 100644 --- a/plug-ins/common/file-wbmp.c +++ b/plug-ins/common/file-wbmp.c @@ -48,7 +48,7 @@ struct _WbmpClass }; #define WBMP_TYPE (wbmp_get_type ()) -#define WBMP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WBMP_TYPE, Wbmp)) +#define WBMP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WBMP_TYPE, Wbmp)) GType wbmp_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-wmf.c b/plug-ins/common/file-wmf.c index 2c2847daad..b0800e5ac6 100644 --- a/plug-ins/common/file-wmf.c +++ b/plug-ins/common/file-wmf.c @@ -65,7 +65,7 @@ struct _WmfClass #define WMF_TYPE (wmf_get_type ()) -#define WMF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WMF_TYPE, Wmf)) +#define WMF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WMF_TYPE, Wmf)) GType wmf_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-xbm.c b/plug-ins/common/file-xbm.c index f2d025a7bc..0ad03437b3 100644 --- a/plug-ins/common/file-xbm.c +++ b/plug-ins/common/file-xbm.c @@ -70,7 +70,7 @@ struct _XbmClass #define XBM_TYPE (xbm_get_type ()) -#define XBM (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XBM_TYPE, Xbm)) +#define XBM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XBM_TYPE, Xbm)) GType xbm_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-xmc.c b/plug-ins/common/file-xmc.c index f0dac84247..f140aa2336 100644 --- a/plug-ins/common/file-xmc.c +++ b/plug-ins/common/file-xmc.c @@ -149,7 +149,7 @@ struct _XmcClass #define XMC_TYPE (xmc_get_type ()) -#define XMC (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XMC_TYPE, Xmc)) +#define XMC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XMC_TYPE, Xmc)) GType xmc_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-xpm.c b/plug-ins/common/file-xpm.c index 763c10cb4f..ebb7398dee 100644 --- a/plug-ins/common/file-xpm.c +++ b/plug-ins/common/file-xpm.c @@ -96,7 +96,7 @@ struct _XpmClass #define XPM_TYPE (xpm_get_type ()) -#define XPM (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XPM_TYPE, Xpm)) +#define XPM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XPM_TYPE, Xpm)) GType xpm_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/file-xwd.c b/plug-ins/common/file-xwd.c index fb3988dbc1..4ec6fb4e20 100644 --- a/plug-ins/common/file-xwd.c +++ b/plug-ins/common/file-xwd.c @@ -151,7 +151,7 @@ struct _XwdClass #define XWD_TYPE (xwd_get_type ()) -#define XWD (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XWD_TYPE, Xwd)) +#define XWD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XWD_TYPE, Xwd)) GType xwd_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/film.c b/plug-ins/common/film.c index a201dbaa50..e502a00e23 100644 --- a/plug-ins/common/film.c +++ b/plug-ins/common/film.c @@ -66,7 +66,7 @@ struct _FilmClass #define FILM_TYPE (film_get_type ()) -#define FILM (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FILM_TYPE, Film)) +#define FILM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FILM_TYPE, Film)) GType film_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/gradient-map.c b/plug-ins/common/gradient-map.c index 0ab2b7f275..94c332333d 100644 --- a/plug-ins/common/gradient-map.c +++ b/plug-ins/common/gradient-map.c @@ -55,7 +55,7 @@ struct _MapClass #define MAP_TYPE (map_get_type ()) -#define MAP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAP_TYPE, Map)) +#define MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAP_TYPE, Map)) GType map_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/guillotine.c b/plug-ins/common/guillotine.c index 21fa347c23..b5fa4cf241 100644 --- a/plug-ins/common/guillotine.c +++ b/plug-ins/common/guillotine.c @@ -46,7 +46,7 @@ struct _GuillotineClass #define GUILLOTINE_TYPE (guillotine_get_type ()) -#define GUILLOTINE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GUILLOTINE_TYPE, Guillotine)) +#define GUILLOTINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GUILLOTINE_TYPE, Guillotine)) GType guillotine_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/hot.c b/plug-ins/common/hot.c index 780c2d3bf5..41c038a947 100644 --- a/plug-ins/common/hot.c +++ b/plug-ins/common/hot.c @@ -145,7 +145,7 @@ struct _HotClass #define HOT_TYPE (hot_get_type ()) -#define HOT (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HOT_TYPE, Hot)) +#define HOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HOT_TYPE, Hot)) GType hot_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/jigsaw.c b/plug-ins/common/jigsaw.c index 35347f8a82..a33d8123cd 100644 --- a/plug-ins/common/jigsaw.c +++ b/plug-ins/common/jigsaw.c @@ -188,7 +188,7 @@ struct _JigsawClass #define JIGSAW_TYPE (jigsaw_get_type ()) -#define JIGSAW (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JIGSAW_TYPE, Jigsaw)) +#define JIGSAW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JIGSAW_TYPE, Jigsaw)) GType jigsaw_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/mail.c b/plug-ins/common/mail.c index 30a9f0e1d5..da0f3971d2 100644 --- a/plug-ins/common/mail.c +++ b/plug-ins/common/mail.c @@ -67,7 +67,7 @@ struct _MailClass #define MAIL_TYPE (mail_get_type ()) -#define MAIL (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIL_TYPE, Mail)) +#define MAIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIL_TYPE, Mail)) GType mail_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/nl-filter.c b/plug-ins/common/nl-filter.c index 891a65b8d4..65b0136028 100644 --- a/plug-ins/common/nl-filter.c +++ b/plug-ins/common/nl-filter.c @@ -73,7 +73,7 @@ struct _NlfilterClass #define NLFILTER_TYPE (nlfilter_get_type ()) -#define NLFILTER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NLFILTER_TYPE, Nlfilter)) +#define NLFILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NLFILTER_TYPE, Nlfilter)) GType nlfilter_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/plugin-browser.c b/plug-ins/common/plugin-browser.c index 833a0978cc..85c078679b 100644 --- a/plug-ins/common/plugin-browser.c +++ b/plug-ins/common/plugin-browser.c @@ -101,7 +101,7 @@ struct _BrowserClass */ #define BROWSER_TYPE (browser_get_type ()) -#define BROWSER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) +#define BROWSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) GType browser_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/procedure-browser.c b/plug-ins/common/procedure-browser.c index e2cf00572a..62ecac4ddb 100644 --- a/plug-ins/common/procedure-browser.c +++ b/plug-ins/common/procedure-browser.c @@ -71,7 +71,7 @@ struct _BrowserClass */ #define BROWSER_TYPE (browser_get_type ()) -#define BROWSER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) +#define BROWSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) GType browser_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/qbist.c b/plug-ins/common/qbist.c index 24499bcd4c..0e9d47f5ea 100644 --- a/plug-ins/common/qbist.c +++ b/plug-ins/common/qbist.c @@ -99,7 +99,7 @@ struct _QbistClass #define QBIST_TYPE (qbist_get_type ()) -#define QBIST (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QBIST_TYPE, Qbist)) +#define QBIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QBIST_TYPE, Qbist)) GType qbist_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c index 2517b8239d..e8fadc0261 100644 --- a/plug-ins/common/sample-colorize.c +++ b/plug-ins/common/sample-colorize.c @@ -175,7 +175,7 @@ struct _ColorizeClass #define COLORIZE_TYPE (colorize_get_type ()) -#define COLORIZE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COLORIZE_TYPE, Colorize)) +#define COLORIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), COLORIZE_TYPE, Colorize)) GType colorize_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/smooth-palette.c b/plug-ins/common/smooth-palette.c index 0840429e6a..c854476b4f 100644 --- a/plug-ins/common/smooth-palette.c +++ b/plug-ins/common/smooth-palette.c @@ -49,7 +49,7 @@ struct _PaletteClass #define PALETTE_TYPE (palette_get_type ()) -#define PALETTE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PALETTE_TYPE, Palette)) +#define PALETTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PALETTE_TYPE, Palette)) GType palette_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/sparkle.c b/plug-ins/common/sparkle.c index 00fd6d709a..18465cadbc 100644 --- a/plug-ins/common/sparkle.c +++ b/plug-ins/common/sparkle.c @@ -65,7 +65,7 @@ struct _SparkleClass #define SPARKLE_TYPE (sparkle_get_type ()) -#define SPARKLE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPARKLE_TYPE, Sparkle)) +#define SPARKLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPARKLE_TYPE, Sparkle)) GType sparkle_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/sphere-designer.c b/plug-ins/common/sphere-designer.c index 6b25b31453..34d46a2f9d 100644 --- a/plug-ins/common/sphere-designer.c +++ b/plug-ins/common/sphere-designer.c @@ -272,7 +272,7 @@ struct _DesignerClass #define DESIGNER_TYPE (designer_get_type ()) -#define DESIGNER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESIGNER_TYPE, Designer)) +#define DESIGNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DESIGNER_TYPE, Designer)) GType designer_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/tile-small.c b/plug-ins/common/tile-small.c index b9bc7ba8dd..7ef5d636f9 100644 --- a/plug-ins/common/tile-small.c +++ b/plug-ins/common/tile-small.c @@ -98,7 +98,7 @@ struct _TileClass #define TILE_TYPE (tile_get_type ()) -#define TILE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILE_TYPE, Tile)) +#define TILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILE_TYPE, Tile)) GType tile_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/tile.c b/plug-ins/common/tile.c index 584955741e..0f66369962 100644 --- a/plug-ins/common/tile.c +++ b/plug-ins/common/tile.c @@ -48,7 +48,7 @@ struct _TileClass #define TILE_TYPE (tile_get_type ()) -#define TILE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILE_TYPE, Tile)) +#define TILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TILE_TYPE, Tile)) GType tile_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/van-gogh-lic.c b/plug-ins/common/van-gogh-lic.c index 9b494e3a79..9517068f8c 100644 --- a/plug-ins/common/van-gogh-lic.c +++ b/plug-ins/common/van-gogh-lic.c @@ -77,7 +77,7 @@ struct _LicClass #define LIC_TYPE (lic_get_type ()) -#define LIC (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LIC_TYPE, Lic)) +#define LIC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LIC_TYPE, Lic)) GType lic_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/warp.c b/plug-ins/common/warp.c index 367fa12055..f545d6208d 100644 --- a/plug-ins/common/warp.c +++ b/plug-ins/common/warp.c @@ -103,7 +103,7 @@ struct _WarpClass #define WARP_TYPE (warp_get_type ()) -#define WARP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WARP_TYPE, Warp)) +#define WARP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WARP_TYPE, Warp)) GType warp_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/wavelet-decompose.c b/plug-ins/common/wavelet-decompose.c index 6f534f0f3d..8f57602640 100644 --- a/plug-ins/common/wavelet-decompose.c +++ b/plug-ins/common/wavelet-decompose.c @@ -47,7 +47,7 @@ struct _WaveletClass #define WAVELET_TYPE (wavelet_get_type ()) -#define WAVELET (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WAVELET_TYPE, Wavelet)) +#define WAVELET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WAVELET_TYPE, Wavelet)) GType wavelet_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/web-browser.c b/plug-ins/common/web-browser.c index ed0c095458..9f785bbe4e 100644 --- a/plug-ins/common/web-browser.c +++ b/plug-ins/common/web-browser.c @@ -58,7 +58,7 @@ struct _BrowserClass #define BROWSER_TYPE (browser_get_type ()) -#define BROWSER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) +#define BROWSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BROWSER_TYPE, Browser)) GType browser_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/common/web-page.c b/plug-ins/common/web-page.c index 9ec52f0bf5..cdc2b0fc94 100644 --- a/plug-ins/common/web-page.c +++ b/plug-ins/common/web-page.c @@ -58,7 +58,7 @@ struct _WebpageClass #define WEBPAGE_TYPE (webpage_get_type ()) -#define WEBPAGE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBPAGE_TYPE, Webpage)) +#define WEBPAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBPAGE_TYPE, Webpage)) GType webpage_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-bmp/bmp.c b/plug-ins/file-bmp/bmp.c index 432cf4ccfc..97e93c18e0 100644 --- a/plug-ins/file-bmp/bmp.c +++ b/plug-ins/file-bmp/bmp.c @@ -81,7 +81,7 @@ struct _BmpClass #define BMP_TYPE (bmp_get_type ()) -#define BMP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BMP_TYPE, Bmp)) +#define BMP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BMP_TYPE, Bmp)) GType bmp_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-dds/dds.c b/plug-ins/file-dds/dds.c index 8c0696bf51..33de628222 100644 --- a/plug-ins/file-dds/dds.c +++ b/plug-ins/file-dds/dds.c @@ -62,7 +62,7 @@ struct _DdsClass #define DDS_TYPE (dds_get_type ()) -#define DDS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DDS_TYPE, Dds)) +#define DDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DDS_TYPE, Dds)) GType dds_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-exr/file-exr.c b/plug-ins/file-exr/file-exr.c index 7bdd9041fe..df893ca0b3 100644 --- a/plug-ins/file-exr/file-exr.c +++ b/plug-ins/file-exr/file-exr.c @@ -44,7 +44,7 @@ struct _ExrClass #define EXR_TYPE (exr_get_type ()) -#define EXR (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXR_TYPE, Exr)) +#define EXR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXR_TYPE, Exr)) GType exr_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-fits/fits.c b/plug-ins/file-fits/fits.c index f5d006ba0e..da81a8b5a4 100644 --- a/plug-ins/file-fits/fits.c +++ b/plug-ins/file-fits/fits.c @@ -70,7 +70,7 @@ struct _FitsClass #define FITS_TYPE (fits_get_type ()) -#define FITS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FITS_TYPE, Fits)) +#define FITS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FITS_TYPE, Fits)) GType fits_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-fli/fli-gimp.c b/plug-ins/file-fli/fli-gimp.c index adf95a8ee1..ca52b24130 100644 --- a/plug-ins/file-fli/fli-gimp.c +++ b/plug-ins/file-fli/fli-gimp.c @@ -86,7 +86,7 @@ struct _FliClass #define FLI_TYPE (fli_get_type ()) -#define FLI (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FLI_TYPE, Fli)) +#define FLI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FLI_TYPE, Fli)) GType fli_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-icns/file-icns.c b/plug-ins/file-icns/file-icns.c index 1985ec531f..858ba6d1c0 100644 --- a/plug-ins/file-icns/file-icns.c +++ b/plug-ins/file-icns/file-icns.c @@ -55,8 +55,8 @@ struct _IcnsClass }; -#define ICNS_TYPE (icns_get_type ()) -#define ICNS (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ICNS_TYPE, Icns)) +#define ICNS_TYPE (icns_get_type ()) +#define ICNS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ICNS_TYPE, Icns)) GType icns_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-ico/ico.c b/plug-ins/file-ico/ico.c index 45571129ef..112f30d015 100644 --- a/plug-ins/file-ico/ico.c +++ b/plug-ins/file-ico/ico.c @@ -61,7 +61,7 @@ struct _IcoClass #define ICO_TYPE (ico_get_type ()) -#define ICO (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ICO_TYPE, Ico)) +#define ICO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ICO_TYPE, Ico)) GType ico_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-jpeg/jpeg.c b/plug-ins/file-jpeg/jpeg.c index 8b4c34f826..d620e346aa 100644 --- a/plug-ins/file-jpeg/jpeg.c +++ b/plug-ins/file-jpeg/jpeg.c @@ -50,7 +50,7 @@ struct _JpegClass #define JPEG_TYPE (jpeg_get_type ()) -#define JPEG (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JPEG_TYPE, Jpeg)) +#define JPEG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), JPEG_TYPE, Jpeg)) GType jpeg_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-psd/psd.c b/plug-ins/file-psd/psd.c index d4b84812dd..a0e5034624 100644 --- a/plug-ins/file-psd/psd.c +++ b/plug-ins/file-psd/psd.c @@ -48,7 +48,7 @@ struct _PsdClass #define PSD_TYPE (psd_get_type ()) -#define PSD (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSD_TYPE, Psd)) +#define PSD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSD_TYPE, Psd)) GType psd_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-raw/file-darktable.c b/plug-ins/file-raw/file-darktable.c index f158454608..167a2acebc 100644 --- a/plug-ins/file-raw/file-darktable.c +++ b/plug-ins/file-raw/file-darktable.c @@ -50,7 +50,7 @@ struct _DarktableClass #define DARKTABLE_TYPE (darktable_get_type ()) -#define DARKTABLE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DARKTABLE_TYPE, Darktable)) +#define DARKTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DARKTABLE_TYPE, Darktable)) GType darktable_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-raw/file-raw-placeholder.c b/plug-ins/file-raw/file-raw-placeholder.c index 51dbf75653..e40f89c779 100644 --- a/plug-ins/file-raw/file-raw-placeholder.c +++ b/plug-ins/file-raw/file-raw-placeholder.c @@ -44,7 +44,7 @@ struct _PlaceholderClass #define PLACEHOLDER_TYPE (placeholder_get_type ()) -#define PLACEHOLDER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLACEHOLDER_TYPE, Placeholder)) +#define PLACEHOLDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLACEHOLDER_TYPE, Placeholder)) GType placeholder_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-raw/file-rawtherapee.c b/plug-ins/file-raw/file-rawtherapee.c index 3b101a4941..0110f20197 100644 --- a/plug-ins/file-raw/file-rawtherapee.c +++ b/plug-ins/file-raw/file-rawtherapee.c @@ -51,7 +51,7 @@ struct _RawtherapeeClass #define RAWTHERAPEE_TYPE (rawtherapee_get_type ()) -#define RAWTHERAPEE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RAWTHERAPEE_TYPE, Rawtherapee)) +#define RAWTHERAPEE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RAWTHERAPEE_TYPE, Rawtherapee)) GType rawtherapee_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-sgi/sgi.c b/plug-ins/file-sgi/sgi.c index 0cba3cf040..d994e477d7 100644 --- a/plug-ins/file-sgi/sgi.c +++ b/plug-ins/file-sgi/sgi.c @@ -61,7 +61,7 @@ struct _SgiClass #define SGI_TYPE (sgi_get_type ()) -#define SGI (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SGI_TYPE, Sgi)) +#define SGI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SGI_TYPE, Sgi)) GType sgi_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-tiff/file-tiff.c b/plug-ins/file-tiff/file-tiff.c index ed328849ad..e546893cc3 100644 --- a/plug-ins/file-tiff/file-tiff.c +++ b/plug-ins/file-tiff/file-tiff.c @@ -76,7 +76,7 @@ struct _TiffClass #define TIFF_TYPE (tiff_get_type ()) -#define TIFF (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TIFF_TYPE, Tiff)) +#define TIFF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TIFF_TYPE, Tiff)) GType tiff_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/file-webp/file-webp.c b/plug-ins/file-webp/file-webp.c index 2bd48a17e6..27364cad91 100644 --- a/plug-ins/file-webp/file-webp.c +++ b/plug-ins/file-webp/file-webp.c @@ -51,7 +51,7 @@ struct _WebpClass #define WEBP_TYPE (webp_get_type ()) -#define WEBP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBP_TYPE, Webp)) +#define WEBP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBP_TYPE, Webp)) GType webp_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/flame/flame.c b/plug-ins/flame/flame.c index 46d0d503a9..74dc8b13b8 100644 --- a/plug-ins/flame/flame.c +++ b/plug-ins/flame/flame.c @@ -75,7 +75,7 @@ struct _FlameClass #define FLAME_TYPE (flame_get_type ()) -#define FLAME (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FLAME_TYPE, Flame)) +#define FLAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FLAME_TYPE, Flame)) GType flame_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/fractal-explorer/fractal-explorer.c b/plug-ins/fractal-explorer/fractal-explorer.c index a7df70928a..78c5196048 100644 --- a/plug-ins/fractal-explorer/fractal-explorer.c +++ b/plug-ins/fractal-explorer/fractal-explorer.c @@ -85,7 +85,7 @@ struct _ExplorerClass #define EXPLORER_TYPE (explorer_get_type ()) -#define EXPLORER (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXPLORER_TYPE, Explorer)) +#define EXPLORER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXPLORER_TYPE, Explorer)) GType explorer_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/gimpressionist/gimp.c b/plug-ins/gimpressionist/gimp.c index dad535d16f..94d1525733 100644 --- a/plug-ins/gimpressionist/gimp.c +++ b/plug-ins/gimpressionist/gimp.c @@ -51,7 +51,7 @@ struct _GimpressionistClass #define GIMPRESSIONIST_TYPE (gimpressionist_get_type ()) -#define GIMPRESSIONIST (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMPRESSIONIST_TYPE, Gimpressionist)) +#define GIMPRESSIONIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMPRESSIONIST_TYPE, Gimpressionist)) GType gimpressionist_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/gradient-flare/gradient-flare.c b/plug-ins/gradient-flare/gradient-flare.c index 760b80fd7f..17a3a79cba 100644 --- a/plug-ins/gradient-flare/gradient-flare.c +++ b/plug-ins/gradient-flare/gradient-flare.c @@ -367,7 +367,7 @@ struct _GflareClass #define GFLARE_TYPE (gflare_get_type ()) -#define GFLARE (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GFLARE_TYPE, Gflare)) +#define GFLARE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GFLARE_TYPE, Gflare)) GType gflare_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/help/help.c b/plug-ins/help/help.c index 9b17711f86..43ed8ed065 100644 --- a/plug-ins/help/help.c +++ b/plug-ins/help/help.c @@ -64,7 +64,7 @@ typedef struct /* forward declarations */ #define HELP_TYPE (help_get_type ()) -#define HELP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HELP_TYPE, Help)) +#define HELP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HELP_TYPE, Help)) GType help_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/lighting/lighting-main.c b/plug-ins/lighting/lighting-main.c index e3bb3bb075..0c331d85f5 100644 --- a/plug-ins/lighting/lighting-main.c +++ b/plug-ins/lighting/lighting-main.c @@ -53,7 +53,7 @@ struct _LightingClass #define LIGHTING_TYPE (lighting_get_type ()) -#define LIGHTING (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LIGHTING_TYPE, Lighting)) +#define LIGHTING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LIGHTING_TYPE, Lighting)) GType lighting_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/map-object/map-object-main.c b/plug-ins/map-object/map-object-main.c index c608bc4137..7a4cb15023 100644 --- a/plug-ins/map-object/map-object-main.c +++ b/plug-ins/map-object/map-object-main.c @@ -53,7 +53,7 @@ struct _MapClass #define MAP_TYPE (map_get_type ()) -#define MAP (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAP_TYPE, Map)) +#define MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAP_TYPE, Map)) GType map_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c index 13e9ed20b2..16da433e3f 100644 --- a/plug-ins/metadata/metadata-editor.c +++ b/plug-ins/metadata/metadata-editor.c @@ -63,7 +63,7 @@ struct _MetadataClass #define METADATA_TYPE (metadata_get_type ()) -#define METADATA (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), METADATA_TYPE, Metadata)) +#define METADATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), METADATA_TYPE, Metadata)) GType metadata_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/metadata/metadata-viewer.c b/plug-ins/metadata/metadata-viewer.c index d3c26157d0..0b32a6d2b6 100644 --- a/plug-ins/metadata/metadata-viewer.c +++ b/plug-ins/metadata/metadata-viewer.c @@ -84,7 +84,7 @@ struct _MetadataClass #define METADATA_TYPE (metadata_get_type ()) -#define METADATA (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), METADATA_TYPE, Metadata)) +#define METADATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), METADATA_TYPE, Metadata)) GType metadata_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/pagecurl/pagecurl.c b/plug-ins/pagecurl/pagecurl.c index dbff0bea1a..acd305563b 100644 --- a/plug-ins/pagecurl/pagecurl.c +++ b/plug-ins/pagecurl/pagecurl.c @@ -107,7 +107,7 @@ struct _PagecurlClass #define PAGECURL_TYPE (pagecurl_get_type ()) -#define PAGECURL (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAGECURL_TYPE, Pagecurl)) +#define PAGECURL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAGECURL_TYPE, Pagecurl)) GType pagecurl_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/print/print.c b/plug-ins/print/print.c index 1c3856d160..6b6118970c 100644 --- a/plug-ins/print/print.c +++ b/plug-ins/print/print.c @@ -59,7 +59,7 @@ struct _PrintClass #define PRINT_TYPE (print_get_type ()) -#define PRINT (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRINT_TYPE, Print)) +#define PRINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PRINT_TYPE, Print)) GType print_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/screenshot/screenshot.c b/plug-ins/screenshot/screenshot.c index b2dd357523..9ff44c5713 100644 --- a/plug-ins/screenshot/screenshot.c +++ b/plug-ins/screenshot/screenshot.c @@ -55,7 +55,7 @@ struct _ScreenshotClass }; #define SCREENSHOT_TYPE (screenshot_get_type ()) -#define SCREENSHOT (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCREENSHOT_TYPE, Screenshot)) +#define SCREENSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCREENSHOT_TYPE, Screenshot)) GType screenshot_get_type (void) G_GNUC_CONST; diff --git a/plug-ins/twain/twain.c b/plug-ins/twain/twain.c index 7ab2c34940..940fe20bb0 100644 --- a/plug-ins/twain/twain.c +++ b/plug-ins/twain/twain.c @@ -142,7 +142,7 @@ struct _TwainClass #define TWAIN_TYPE (twain_get_type ()) -#define TWAIN (obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TWAIN_TYPE, Twain)) +#define TWAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TWAIN_TYPE, Twain)) GType twain_get_type (void) G_GNUC_CONST;