From 64e893e62fe83505ce1f8ec6aaaa4e28c19e9e48 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 18 Oct 2006 13:17:50 +0000 Subject: [PATCH] there's no need to make GTypeInfo and GInterfaceInfo structs static. 2006-10-18 Sven Neumann * [lots of files]: there's no need to make GTypeInfo and GInterfaceInfo structs static. --- ChangeLog | 5 +++ app/core/gimpdata.c | 2 +- app/core/gimpparamspecs.c | 64 ++++++++++++++-------------- app/core/gimppdbprogress.c | 4 +- app/core/gimppickable.c | 2 +- app/core/gimpprogress.c | 2 +- app/tools/gimprectangleoptions.c | 4 +- app/tools/gimprectangletool.c | 4 +- app/widgets/gimpcellrendereraccel.c | 4 +- app/widgets/gimpcontainerview.c | 2 +- app/widgets/gimpdocked.c | 2 +- app/widgets/gimppdbdialog.c | 2 +- app/widgets/gtkhwrapbox.c | 4 +- app/widgets/gtkvwrapbox.c | 4 +- app/widgets/gtkwrapbox.c | 4 +- libgimpbase/gimpmemsize.c | 8 ++-- libgimpbase/gimpparasite.c | 2 +- libgimpbase/gimpunit.c | 8 ++-- libgimpcolor/gimprgb.c | 4 +- libgimpconfig/gimpconfig-iface.c | 4 +- libgimpconfig/gimpconfig-path.c | 8 ++-- libgimpwidgets/gimpcolorbutton.c | 4 +- libgimpwidgets/gimppreview.c | 2 +- libgimpwidgets/gimpresolutionentry.c | 2 +- libgimpwidgets/gimpscrolledpreview.c | 2 +- modules/cdisplay_colorblind.c | 2 +- modules/cdisplay_gamma.c | 2 +- modules/cdisplay_highcontrast.c | 2 +- modules/cdisplay_lcms.c | 2 +- modules/cdisplay_proof.c | 2 +- modules/colorsel_cmyk.c | 2 +- modules/colorsel_cmyk_lcms.c | 2 +- modules/colorsel_triangle.c | 2 +- modules/colorsel_water.c | 2 +- modules/controller_linux_input.c | 2 +- modules/controller_midi.c | 2 +- 36 files changed, 90 insertions(+), 85 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9b9796f27d..19982d6661 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-18 Sven Neumann + + * [lots of files]: there's no need to make GTypeInfo and + GInterfaceInfo structs static. + 2006-10-18 Sven Neumann * plug-ins/script-fu/scripts/unsharp-mask.scm: this script should diff --git a/app/core/gimpdata.c b/app/core/gimpdata.c index 9efcd9a95c..7bbc0d31d7 100644 --- a/app/core/gimpdata.c +++ b/app/core/gimpdata.c @@ -97,7 +97,7 @@ gimp_data_get_type (void) if (! data_type) { - static const GTypeInfo data_info = + const GTypeInfo data_info = { sizeof (GimpDataClass), (GBaseInitFunc) NULL, diff --git a/app/core/gimpparamspecs.c b/app/core/gimpparamspecs.c index 907d457877..6a95c9105c 100644 --- a/app/core/gimpparamspecs.c +++ b/app/core/gimpparamspecs.c @@ -45,7 +45,7 @@ gimp_int32_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpInt32", &info, 0); } @@ -68,7 +68,7 @@ gimp_param_int32_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -135,7 +135,7 @@ gimp_int16_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpInt16", &info, 0); } @@ -158,7 +158,7 @@ gimp_param_int16_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -225,7 +225,7 @@ gimp_int8_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_UINT, "GimpInt8", &info, 0); } @@ -248,7 +248,7 @@ gimp_param_int8_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -319,7 +319,7 @@ gimp_param_string_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -427,7 +427,7 @@ gimp_param_enum_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -551,7 +551,7 @@ gimp_image_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpImageID", &info, 0); } @@ -581,7 +581,7 @@ gimp_param_image_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -717,7 +717,7 @@ gimp_item_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpItemID", &info, 0); } @@ -747,7 +747,7 @@ gimp_param_item_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -901,7 +901,7 @@ gimp_drawable_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpDrawableID", &info, 0); } @@ -924,7 +924,7 @@ gimp_param_drawable_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1016,7 +1016,7 @@ gimp_layer_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpLayerID", &info, 0); } @@ -1039,7 +1039,7 @@ gimp_param_layer_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1131,7 +1131,7 @@ gimp_channel_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpChannelID", &info, 0); } @@ -1154,7 +1154,7 @@ gimp_param_channel_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1246,7 +1246,7 @@ gimp_layer_mask_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpLayerMaskID", &info, 0); } @@ -1269,7 +1269,7 @@ gimp_param_layer_mask_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1361,7 +1361,7 @@ gimp_selection_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpSelectionID", &info, 0); } @@ -1384,7 +1384,7 @@ gimp_param_selection_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1476,7 +1476,7 @@ gimp_vectors_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpVectorsID", &info, 0); } @@ -1499,7 +1499,7 @@ gimp_param_vectors_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1591,7 +1591,7 @@ gimp_display_id_get_type (void) if (! type) { - static const GTypeInfo info = { 0, }; + const GTypeInfo info = { 0, }; type = g_type_register_static (G_TYPE_INT, "GimpDisplayID", &info, 0); } @@ -1621,7 +1621,7 @@ gimp_param_display_id_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -1828,7 +1828,7 @@ gimp_param_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -2001,7 +2001,7 @@ gimp_param_int8_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -2123,7 +2123,7 @@ gimp_param_int16_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -2248,7 +2248,7 @@ gimp_param_int32_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -2373,7 +2373,7 @@ gimp_param_float_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, @@ -2566,7 +2566,7 @@ gimp_param_string_array_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/app/core/gimppdbprogress.c b/app/core/gimppdbprogress.c index 94a2c8a1ae..e0a957c7d8 100644 --- a/app/core/gimppdbprogress.c +++ b/app/core/gimppdbprogress.c @@ -87,7 +87,7 @@ gimp_pdb_progress_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GimpPdbProgressClass), (GBaseInitFunc) NULL, @@ -100,7 +100,7 @@ gimp_pdb_progress_get_type (void) (GInstanceInitFunc) gimp_pdb_progress_init, }; - static const GInterfaceInfo progress_iface_info = + const GInterfaceInfo progress_iface_info = { (GInterfaceInitFunc) gimp_pdb_progress_progress_iface_init, NULL, /* iface_finalize */ diff --git a/app/core/gimppickable.c b/app/core/gimppickable.c index d0d6a1740f..a3608742c2 100644 --- a/app/core/gimppickable.c +++ b/app/core/gimppickable.c @@ -38,7 +38,7 @@ gimp_pickable_interface_get_type (void) if (! pickable_iface_type) { - static const GTypeInfo pickable_iface_info = + const GTypeInfo pickable_iface_info = { sizeof (GimpPickableInterface), (GBaseInitFunc) NULL, diff --git a/app/core/gimpprogress.c b/app/core/gimpprogress.c index 80d8a6cc38..9b6852634e 100644 --- a/app/core/gimpprogress.c +++ b/app/core/gimpprogress.c @@ -56,7 +56,7 @@ gimp_progress_interface_get_type (void) if (! progress_iface_type) { - static const GTypeInfo progress_iface_info = + const GTypeInfo progress_iface_info = { sizeof (GimpProgressInterface), (GBaseInitFunc) gimp_progress_iface_base_init, diff --git a/app/tools/gimprectangleoptions.c b/app/tools/gimprectangleoptions.c index 8d5df0244b..db1b0aa759 100644 --- a/app/tools/gimprectangleoptions.c +++ b/app/tools/gimprectangleoptions.c @@ -80,9 +80,9 @@ gimp_rectangle_options_interface_get_type (void) { static GType iface_type = 0; - if (!iface_type) + if (! iface_type) { - static const GTypeInfo iface_info = + const GTypeInfo iface_info = { sizeof (GimpRectangleOptionsInterface), (GBaseInitFunc) gimp_rectangle_options_iface_base_init, diff --git a/app/tools/gimprectangletool.c b/app/tools/gimprectangletool.c index cb97b8c469..c55e824451 100644 --- a/app/tools/gimprectangletool.c +++ b/app/tools/gimprectangletool.c @@ -160,9 +160,9 @@ gimp_rectangle_tool_interface_get_type (void) { static GType iface_type = 0; - if (!iface_type) + if (! iface_type) { - static const GTypeInfo iface_info = + const GTypeInfo iface_info = { sizeof (GimpRectangleToolInterface), (GBaseInitFunc) gimp_rectangle_tool_iface_base_init, diff --git a/app/widgets/gimpcellrendereraccel.c b/app/widgets/gimpcellrendereraccel.c index 8600267aed..3611c769b3 100644 --- a/app/widgets/gimpcellrendereraccel.c +++ b/app/widgets/gimpcellrendereraccel.c @@ -333,7 +333,7 @@ pointless_eventbox_subclass_get_type (void) if (! type) { - static const GTypeInfo info = + const GTypeInfo info = { sizeof (GtkEventBoxClass), NULL, /* base_init */ @@ -346,7 +346,7 @@ pointless_eventbox_subclass_get_type (void) NULL /* instance init */ }; - static const GInterfaceInfo editable_info = + const GInterfaceInfo editable_info = { (GInterfaceInitFunc) pointless_eventbox_cell_editable_init, NULL, NULL diff --git a/app/widgets/gimpcontainerview.c b/app/widgets/gimpcontainerview.c index 05fba0e907..ebf1aa70d6 100644 --- a/app/widgets/gimpcontainerview.c +++ b/app/widgets/gimpcontainerview.c @@ -129,7 +129,7 @@ gimp_container_view_interface_get_type (void) if (! iface_type) { - static const GTypeInfo iface_info = + const GTypeInfo iface_info = { sizeof (GimpContainerViewInterface), (GBaseInitFunc) gimp_container_view_iface_base_init, diff --git a/app/widgets/gimpdocked.c b/app/widgets/gimpdocked.c index 9d02a76dad..e94040232e 100644 --- a/app/widgets/gimpdocked.c +++ b/app/widgets/gimpdocked.c @@ -59,7 +59,7 @@ gimp_docked_interface_get_type (void) if (!docked_iface_type) { - static const GTypeInfo docked_iface_info = + const GTypeInfo docked_iface_info = { sizeof (GimpDockedInterface), (GBaseInitFunc) gimp_docked_iface_base_init, diff --git a/app/widgets/gimppdbdialog.c b/app/widgets/gimppdbdialog.c index 329b4dfd24..6bc1391821 100644 --- a/app/widgets/gimppdbdialog.c +++ b/app/widgets/gimppdbdialog.c @@ -89,7 +89,7 @@ gimp_pdb_dialog_get_type (void) if (! dialog_type) { - static const GTypeInfo dialog_info = + const GTypeInfo dialog_info = { sizeof (GimpPdbDialogClass), (GBaseInitFunc) NULL, diff --git a/app/widgets/gtkhwrapbox.c b/app/widgets/gtkhwrapbox.c index 110d270cbf..f2cd7bb5b9 100644 --- a/app/widgets/gtkhwrapbox.c +++ b/app/widgets/gtkhwrapbox.c @@ -51,9 +51,9 @@ gtk_hwrap_box_get_type (void) { static GType hwrap_box_type = 0; - if (!hwrap_box_type) + if (! hwrap_box_type) { - static const GTypeInfo hwrap_box_info = + const GTypeInfo hwrap_box_info = { sizeof (GtkHWrapBoxClass), NULL, /* base_init */ diff --git a/app/widgets/gtkvwrapbox.c b/app/widgets/gtkvwrapbox.c index abac91a837..54b80e7a32 100644 --- a/app/widgets/gtkvwrapbox.c +++ b/app/widgets/gtkvwrapbox.c @@ -51,9 +51,9 @@ gtk_vwrap_box_get_type (void) { static GType vwrap_box_type = 0; - if (!vwrap_box_type) + if (! vwrap_box_type) { - static const GTypeInfo vwrap_box_info = + const GTypeInfo vwrap_box_info = { sizeof (GtkVWrapBoxClass), NULL, /* base_init */ diff --git a/app/widgets/gtkwrapbox.c b/app/widgets/gtkwrapbox.c index 8d20f3c8ac..a408ee3c83 100644 --- a/app/widgets/gtkwrapbox.c +++ b/app/widgets/gtkwrapbox.c @@ -95,9 +95,9 @@ gtk_wrap_box_get_type (void) { static GType wrap_box_type = 0; - if (!wrap_box_type) + if (! wrap_box_type) { - static const GTypeInfo wrap_box_info = + const GTypeInfo wrap_box_info = { sizeof (GtkWrapBoxClass), NULL, /* base_init */ diff --git a/libgimpbase/gimpmemsize.c b/libgimpbase/gimpmemsize.c index f9ffe5311a..e680ec4730 100644 --- a/libgimpbase/gimpmemsize.c +++ b/libgimpbase/gimpmemsize.c @@ -39,9 +39,9 @@ gimp_memsize_get_type (void) { static GType memsize_type = 0; - if (!memsize_type) + if (! memsize_type) { - static const GTypeInfo type_info = { 0, }; + const GTypeInfo type_info = { 0, }; memsize_type = g_type_register_static (G_TYPE_UINT64, "GimpMemsize", &type_info, 0); @@ -271,9 +271,9 @@ gimp_param_memsize_get_type (void) { static GType spec_type = 0; - if (!spec_type) + if (! spec_type) { - static const GTypeInfo type_info = + const GTypeInfo type_info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/libgimpbase/gimpparasite.c b/libgimpbase/gimpparasite.c index 67675780bb..dab983e933 100644 --- a/libgimpbase/gimpparasite.c +++ b/libgimpbase/gimpparasite.c @@ -85,7 +85,7 @@ gimp_param_parasite_get_type (void) if (! type) { - static const GTypeInfo type_info = + const GTypeInfo type_info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/libgimpbase/gimpunit.c b/libgimpbase/gimpunit.c index 42c205a6cd..9dd2f2348e 100644 --- a/libgimpbase/gimpunit.c +++ b/libgimpbase/gimpunit.c @@ -42,9 +42,9 @@ gimp_unit_get_type (void) { static GType unit_type = 0; - if (!unit_type) + if (! unit_type) { - static const GTypeInfo type_info = { 0, }; + const GTypeInfo type_info = { 0, }; unit_type = g_type_register_static (G_TYPE_INT, "GimpUnit", &type_info, 0); @@ -368,9 +368,9 @@ gimp_param_unit_get_type (void) { static GType spec_type = 0; - if (!spec_type) + if (! spec_type) { - static const GTypeInfo type_info = + const GTypeInfo type_info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/libgimpcolor/gimprgb.c b/libgimpcolor/gimprgb.c index 6d7c716349..c327a51ce0 100644 --- a/libgimpcolor/gimprgb.c +++ b/libgimpcolor/gimprgb.c @@ -533,9 +533,9 @@ gimp_param_rgb_get_type (void) { static GType spec_type = 0; - if (!spec_type) + if (! spec_type) { - static const GTypeInfo type_info = + const GTypeInfo type_info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/libgimpconfig/gimpconfig-iface.c b/libgimpconfig/gimpconfig-iface.c index 7cef7d11bb..a2e6bd5aaa 100644 --- a/libgimpconfig/gimpconfig-iface.c +++ b/libgimpconfig/gimpconfig-iface.c @@ -64,9 +64,9 @@ gimp_config_interface_get_type (void) { static GType config_iface_type = 0; - if (!config_iface_type) + if (! config_iface_type) { - static const GTypeInfo config_iface_info = + const GTypeInfo config_iface_info = { sizeof (GimpConfigInterface), (GBaseInitFunc) gimp_config_iface_base_init, diff --git a/libgimpconfig/gimpconfig-path.c b/libgimpconfig/gimpconfig-path.c index 53a6082639..a7de266fd3 100644 --- a/libgimpconfig/gimpconfig-path.c +++ b/libgimpconfig/gimpconfig-path.c @@ -47,9 +47,9 @@ gimp_config_path_get_type (void) { static GType path_type = 0; - if (!path_type) + if (! path_type) { - static const GTypeInfo type_info = { 0, }; + const GTypeInfo type_info = { 0, }; path_type = g_type_register_static (G_TYPE_STRING, "GimpConfigPath", &type_info, 0); @@ -90,9 +90,9 @@ gimp_param_config_path_get_type (void) { static GType spec_type = 0; - if (!spec_type) + if (! spec_type) { - static const GTypeInfo type_info = + const GTypeInfo type_info = { sizeof (GParamSpecClass), NULL, NULL, diff --git a/libgimpwidgets/gimpcolorbutton.c b/libgimpwidgets/gimpcolorbutton.c index e130552071..c4f53b64be 100644 --- a/libgimpwidgets/gimpcolorbutton.c +++ b/libgimpwidgets/gimpcolorbutton.c @@ -142,9 +142,9 @@ gimp_color_button_get_type (void) { static GType button_type = 0; - if (!button_type) + if (! button_type) { - static const GTypeInfo button_info = + const GTypeInfo button_info = { sizeof (GimpColorButtonClass), (GBaseInitFunc) NULL, diff --git a/libgimpwidgets/gimppreview.c b/libgimpwidgets/gimppreview.c index 8ea9ddfa6c..850d12d71b 100644 --- a/libgimpwidgets/gimppreview.c +++ b/libgimpwidgets/gimppreview.c @@ -105,7 +105,7 @@ gimp_preview_get_type (void) if (! preview_type) { - static const GTypeInfo preview_info = + const GTypeInfo preview_info = { sizeof (GimpPreviewClass), (GBaseInitFunc) NULL, diff --git a/libgimpwidgets/gimpresolutionentry.c b/libgimpwidgets/gimpresolutionentry.c index 3de8ab8370..83d241ff5c 100644 --- a/libgimpwidgets/gimpresolutionentry.c +++ b/libgimpwidgets/gimpresolutionentry.c @@ -99,7 +99,7 @@ gimp_resolution_entry_get_type (void) if (! gre_type) { - static const GTypeInfo gre_info = + const GTypeInfo gre_info = { sizeof (GimpResolutionEntryClass), (GBaseInitFunc) NULL, diff --git a/libgimpwidgets/gimpscrolledpreview.c b/libgimpwidgets/gimpscrolledpreview.c index f50cb77774..98c128398d 100644 --- a/libgimpwidgets/gimpscrolledpreview.c +++ b/libgimpwidgets/gimpscrolledpreview.c @@ -99,7 +99,7 @@ gimp_scrolled_preview_get_type (void) if (! preview_type) { - static const GTypeInfo preview_info = + const GTypeInfo preview_info = { sizeof (GimpScrolledPreviewClass), (GBaseInitFunc) NULL, diff --git a/modules/cdisplay_colorblind.c b/modules/cdisplay_colorblind.c index 07bfa93744..e2c54d2314 100644 --- a/modules/cdisplay_colorblind.c +++ b/modules/cdisplay_colorblind.c @@ -230,7 +230,7 @@ cdisplay_colorblind_get_type (GTypeModule *module) { if (! cdisplay_colorblind_type) { - static const GTypeInfo display_info = + const GTypeInfo display_info = { sizeof (CdisplayColorblindClass), (GBaseInitFunc) NULL, diff --git a/modules/cdisplay_gamma.c b/modules/cdisplay_gamma.c index a314b2d57f..5c07901831 100644 --- a/modules/cdisplay_gamma.c +++ b/modules/cdisplay_gamma.c @@ -118,7 +118,7 @@ cdisplay_gamma_get_type (GTypeModule *module) { if (! cdisplay_gamma_type) { - static const GTypeInfo display_info = + const GTypeInfo display_info = { sizeof (CdisplayGammaClass), (GBaseInitFunc) NULL, diff --git a/modules/cdisplay_highcontrast.c b/modules/cdisplay_highcontrast.c index a6b42c8c76..cca0f9dc18 100644 --- a/modules/cdisplay_highcontrast.c +++ b/modules/cdisplay_highcontrast.c @@ -118,7 +118,7 @@ cdisplay_contrast_get_type (GTypeModule *module) { if (! cdisplay_contrast_type) { - static const GTypeInfo display_info = + const GTypeInfo display_info = { sizeof (CdisplayContrastClass), (GBaseInitFunc) NULL, diff --git a/modules/cdisplay_lcms.c b/modules/cdisplay_lcms.c index e7b0bc1bc5..506ab873ca 100644 --- a/modules/cdisplay_lcms.c +++ b/modules/cdisplay_lcms.c @@ -134,7 +134,7 @@ cdisplay_lcms_get_type (GTypeModule *module) { if (! cdisplay_lcms_type) { - static const GTypeInfo display_info = + const GTypeInfo display_info = { sizeof (CdisplayLcmsClass), (GBaseInitFunc) NULL, diff --git a/modules/cdisplay_proof.c b/modules/cdisplay_proof.c index 57bb7cbb21..30f0f23bb8 100644 --- a/modules/cdisplay_proof.c +++ b/modules/cdisplay_proof.c @@ -129,7 +129,7 @@ cdisplay_proof_get_type (GTypeModule *module) { if (! cdisplay_proof_type) { - static const GTypeInfo display_info = + const GTypeInfo display_info = { sizeof (CdisplayProofClass), (GBaseInitFunc) NULL, diff --git a/modules/colorsel_cmyk.c b/modules/colorsel_cmyk.c index 2dd735927a..9e5987644a 100644 --- a/modules/colorsel_cmyk.c +++ b/modules/colorsel_cmyk.c @@ -99,7 +99,7 @@ colorsel_cmyk_get_type (GTypeModule *module) { if (! colorsel_cmyk_type) { - static const GTypeInfo select_info = + const GTypeInfo select_info = { sizeof (ColorselCmykClass), (GBaseInitFunc) NULL, diff --git a/modules/colorsel_cmyk_lcms.c b/modules/colorsel_cmyk_lcms.c index 2401898539..128c44f5e8 100644 --- a/modules/colorsel_cmyk_lcms.c +++ b/modules/colorsel_cmyk_lcms.c @@ -116,7 +116,7 @@ colorsel_cmyk_get_type (GTypeModule *module) { if (! colorsel_cmyk_type) { - static const GTypeInfo select_info = + const GTypeInfo select_info = { sizeof (ColorselCmykClass), (GBaseInitFunc) NULL, diff --git a/modules/colorsel_triangle.c b/modules/colorsel_triangle.c index 3a50904bfd..803d969494 100644 --- a/modules/colorsel_triangle.c +++ b/modules/colorsel_triangle.c @@ -137,7 +137,7 @@ colorsel_triangle_get_type (GTypeModule *module) { if (! colorsel_triangle_type) { - static const GTypeInfo select_info = + const GTypeInfo select_info = { sizeof (ColorselTriangleClass), (GBaseInitFunc) NULL, diff --git a/modules/colorsel_water.c b/modules/colorsel_water.c index 800fa8b055..b950355441 100644 --- a/modules/colorsel_water.c +++ b/modules/colorsel_water.c @@ -117,7 +117,7 @@ colorsel_water_get_type (GTypeModule *module) { if (! colorsel_water_type) { - static const GTypeInfo select_info = + const GTypeInfo select_info = { sizeof (ColorselWaterClass), (GBaseInitFunc) NULL, diff --git a/modules/controller_linux_input.c b/modules/controller_linux_input.c index 5343ecb2b8..9f8041f973 100644 --- a/modules/controller_linux_input.c +++ b/modules/controller_linux_input.c @@ -183,7 +183,7 @@ linux_input_get_type (GTypeModule *module) { if (! controller_type) { - static const GTypeInfo controller_info = + const GTypeInfo controller_info = { sizeof (ControllerLinuxInputClass), (GBaseInitFunc) NULL, diff --git a/modules/controller_midi.c b/modules/controller_midi.c index fda1edf8f8..1d5b204c5e 100644 --- a/modules/controller_midi.c +++ b/modules/controller_midi.c @@ -199,7 +199,7 @@ midi_get_type (GTypeModule *module) { if (! controller_type) { - static const GTypeInfo controller_info = + const GTypeInfo controller_info = { sizeof (ControllerMidiClass), (GBaseInitFunc) NULL,