there's no need to make GTypeInfo and GInterfaceInfo structs static.

2006-10-18  Sven Neumann  <sven@gimp.org>

        * [lots of files]: there's no need to make GTypeInfo and
        GInterfaceInfo structs static.
This commit is contained in:
Sven Neumann
2006-10-18 13:17:50 +00:00
committed by Sven Neumann
parent 9699f30d62
commit 64e893e62f
36 changed files with 90 additions and 85 deletions

View File

@ -1,3 +1,8 @@
2006-10-18 Sven Neumann <sven@gimp.org>
* [lots of files]: there's no need to make GTypeInfo and
GInterfaceInfo structs static.
2006-10-18 Sven Neumann <sven@gimp.org> 2006-10-18 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/unsharp-mask.scm: this script should * plug-ins/script-fu/scripts/unsharp-mask.scm: this script should

View File

@ -97,7 +97,7 @@ gimp_data_get_type (void)
if (! data_type) if (! data_type)
{ {
static const GTypeInfo data_info = const GTypeInfo data_info =
{ {
sizeof (GimpDataClass), sizeof (GimpDataClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -45,7 +45,7 @@ gimp_int32_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpInt32", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -135,7 +135,7 @@ gimp_int16_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpInt16", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -225,7 +225,7 @@ gimp_int8_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_UINT, "GimpInt8", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -319,7 +319,7 @@ gimp_param_string_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -427,7 +427,7 @@ gimp_param_enum_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -551,7 +551,7 @@ gimp_image_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpImageID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -717,7 +717,7 @@ gimp_item_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpItemID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -901,7 +901,7 @@ gimp_drawable_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpDrawableID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1016,7 +1016,7 @@ gimp_layer_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpLayerID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1131,7 +1131,7 @@ gimp_channel_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpChannelID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1246,7 +1246,7 @@ gimp_layer_mask_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpLayerMaskID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1361,7 +1361,7 @@ gimp_selection_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpSelectionID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1476,7 +1476,7 @@ gimp_vectors_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpVectorsID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1591,7 +1591,7 @@ gimp_display_id_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = { 0, }; const GTypeInfo info = { 0, };
type = g_type_register_static (G_TYPE_INT, "GimpDisplayID", &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) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -1828,7 +1828,7 @@ gimp_param_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -2001,7 +2001,7 @@ gimp_param_int8_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -2123,7 +2123,7 @@ gimp_param_int16_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -2248,7 +2248,7 @@ gimp_param_int32_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -2373,7 +2373,7 @@ gimp_param_float_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,
@ -2566,7 +2566,7 @@ gimp_param_string_array_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -87,7 +87,7 @@ gimp_pdb_progress_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GimpPdbProgressClass), sizeof (GimpPdbProgressClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,
@ -100,7 +100,7 @@ gimp_pdb_progress_get_type (void)
(GInstanceInitFunc) gimp_pdb_progress_init, (GInstanceInitFunc) gimp_pdb_progress_init,
}; };
static const GInterfaceInfo progress_iface_info = const GInterfaceInfo progress_iface_info =
{ {
(GInterfaceInitFunc) gimp_pdb_progress_progress_iface_init, (GInterfaceInitFunc) gimp_pdb_progress_progress_iface_init,
NULL, /* iface_finalize */ NULL, /* iface_finalize */

View File

@ -38,7 +38,7 @@ gimp_pickable_interface_get_type (void)
if (! pickable_iface_type) if (! pickable_iface_type)
{ {
static const GTypeInfo pickable_iface_info = const GTypeInfo pickable_iface_info =
{ {
sizeof (GimpPickableInterface), sizeof (GimpPickableInterface),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -56,7 +56,7 @@ gimp_progress_interface_get_type (void)
if (! progress_iface_type) if (! progress_iface_type)
{ {
static const GTypeInfo progress_iface_info = const GTypeInfo progress_iface_info =
{ {
sizeof (GimpProgressInterface), sizeof (GimpProgressInterface),
(GBaseInitFunc) gimp_progress_iface_base_init, (GBaseInitFunc) gimp_progress_iface_base_init,

View File

@ -80,9 +80,9 @@ gimp_rectangle_options_interface_get_type (void)
{ {
static GType iface_type = 0; static GType iface_type = 0;
if (!iface_type) if (! iface_type)
{ {
static const GTypeInfo iface_info = const GTypeInfo iface_info =
{ {
sizeof (GimpRectangleOptionsInterface), sizeof (GimpRectangleOptionsInterface),
(GBaseInitFunc) gimp_rectangle_options_iface_base_init, (GBaseInitFunc) gimp_rectangle_options_iface_base_init,

View File

@ -160,9 +160,9 @@ gimp_rectangle_tool_interface_get_type (void)
{ {
static GType iface_type = 0; static GType iface_type = 0;
if (!iface_type) if (! iface_type)
{ {
static const GTypeInfo iface_info = const GTypeInfo iface_info =
{ {
sizeof (GimpRectangleToolInterface), sizeof (GimpRectangleToolInterface),
(GBaseInitFunc) gimp_rectangle_tool_iface_base_init, (GBaseInitFunc) gimp_rectangle_tool_iface_base_init,

View File

@ -333,7 +333,7 @@ pointless_eventbox_subclass_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo info = const GTypeInfo info =
{ {
sizeof (GtkEventBoxClass), sizeof (GtkEventBoxClass),
NULL, /* base_init */ NULL, /* base_init */
@ -346,7 +346,7 @@ pointless_eventbox_subclass_get_type (void)
NULL /* instance init */ NULL /* instance init */
}; };
static const GInterfaceInfo editable_info = const GInterfaceInfo editable_info =
{ {
(GInterfaceInitFunc) pointless_eventbox_cell_editable_init, (GInterfaceInitFunc) pointless_eventbox_cell_editable_init,
NULL, NULL NULL, NULL

View File

@ -129,7 +129,7 @@ gimp_container_view_interface_get_type (void)
if (! iface_type) if (! iface_type)
{ {
static const GTypeInfo iface_info = const GTypeInfo iface_info =
{ {
sizeof (GimpContainerViewInterface), sizeof (GimpContainerViewInterface),
(GBaseInitFunc) gimp_container_view_iface_base_init, (GBaseInitFunc) gimp_container_view_iface_base_init,

View File

@ -59,7 +59,7 @@ gimp_docked_interface_get_type (void)
if (!docked_iface_type) if (!docked_iface_type)
{ {
static const GTypeInfo docked_iface_info = const GTypeInfo docked_iface_info =
{ {
sizeof (GimpDockedInterface), sizeof (GimpDockedInterface),
(GBaseInitFunc) gimp_docked_iface_base_init, (GBaseInitFunc) gimp_docked_iface_base_init,

View File

@ -89,7 +89,7 @@ gimp_pdb_dialog_get_type (void)
if (! dialog_type) if (! dialog_type)
{ {
static const GTypeInfo dialog_info = const GTypeInfo dialog_info =
{ {
sizeof (GimpPdbDialogClass), sizeof (GimpPdbDialogClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -51,9 +51,9 @@ gtk_hwrap_box_get_type (void)
{ {
static GType hwrap_box_type = 0; 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), sizeof (GtkHWrapBoxClass),
NULL, /* base_init */ NULL, /* base_init */

View File

@ -51,9 +51,9 @@ gtk_vwrap_box_get_type (void)
{ {
static GType vwrap_box_type = 0; 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), sizeof (GtkVWrapBoxClass),
NULL, /* base_init */ NULL, /* base_init */

View File

@ -95,9 +95,9 @@ gtk_wrap_box_get_type (void)
{ {
static GType wrap_box_type = 0; 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), sizeof (GtkWrapBoxClass),
NULL, /* base_init */ NULL, /* base_init */

View File

@ -39,9 +39,9 @@ gimp_memsize_get_type (void)
{ {
static GType memsize_type = 0; 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", memsize_type = g_type_register_static (G_TYPE_UINT64, "GimpMemsize",
&type_info, 0); &type_info, 0);
@ -271,9 +271,9 @@ gimp_param_memsize_get_type (void)
{ {
static GType spec_type = 0; static GType spec_type = 0;
if (!spec_type) if (! spec_type)
{ {
static const GTypeInfo type_info = const GTypeInfo type_info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -85,7 +85,7 @@ gimp_param_parasite_get_type (void)
if (! type) if (! type)
{ {
static const GTypeInfo type_info = const GTypeInfo type_info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -42,9 +42,9 @@ gimp_unit_get_type (void)
{ {
static GType unit_type = 0; 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", unit_type = g_type_register_static (G_TYPE_INT, "GimpUnit",
&type_info, 0); &type_info, 0);
@ -368,9 +368,9 @@ gimp_param_unit_get_type (void)
{ {
static GType spec_type = 0; static GType spec_type = 0;
if (!spec_type) if (! spec_type)
{ {
static const GTypeInfo type_info = const GTypeInfo type_info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -533,9 +533,9 @@ gimp_param_rgb_get_type (void)
{ {
static GType spec_type = 0; static GType spec_type = 0;
if (!spec_type) if (! spec_type)
{ {
static const GTypeInfo type_info = const GTypeInfo type_info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -64,9 +64,9 @@ gimp_config_interface_get_type (void)
{ {
static GType config_iface_type = 0; 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), sizeof (GimpConfigInterface),
(GBaseInitFunc) gimp_config_iface_base_init, (GBaseInitFunc) gimp_config_iface_base_init,

View File

@ -47,9 +47,9 @@ gimp_config_path_get_type (void)
{ {
static GType path_type = 0; 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", path_type = g_type_register_static (G_TYPE_STRING, "GimpConfigPath",
&type_info, 0); &type_info, 0);
@ -90,9 +90,9 @@ gimp_param_config_path_get_type (void)
{ {
static GType spec_type = 0; static GType spec_type = 0;
if (!spec_type) if (! spec_type)
{ {
static const GTypeInfo type_info = const GTypeInfo type_info =
{ {
sizeof (GParamSpecClass), sizeof (GParamSpecClass),
NULL, NULL, NULL, NULL,

View File

@ -142,9 +142,9 @@ gimp_color_button_get_type (void)
{ {
static GType button_type = 0; static GType button_type = 0;
if (!button_type) if (! button_type)
{ {
static const GTypeInfo button_info = const GTypeInfo button_info =
{ {
sizeof (GimpColorButtonClass), sizeof (GimpColorButtonClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -105,7 +105,7 @@ gimp_preview_get_type (void)
if (! preview_type) if (! preview_type)
{ {
static const GTypeInfo preview_info = const GTypeInfo preview_info =
{ {
sizeof (GimpPreviewClass), sizeof (GimpPreviewClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -99,7 +99,7 @@ gimp_resolution_entry_get_type (void)
if (! gre_type) if (! gre_type)
{ {
static const GTypeInfo gre_info = const GTypeInfo gre_info =
{ {
sizeof (GimpResolutionEntryClass), sizeof (GimpResolutionEntryClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -99,7 +99,7 @@ gimp_scrolled_preview_get_type (void)
if (! preview_type) if (! preview_type)
{ {
static const GTypeInfo preview_info = const GTypeInfo preview_info =
{ {
sizeof (GimpScrolledPreviewClass), sizeof (GimpScrolledPreviewClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -230,7 +230,7 @@ cdisplay_colorblind_get_type (GTypeModule *module)
{ {
if (! cdisplay_colorblind_type) if (! cdisplay_colorblind_type)
{ {
static const GTypeInfo display_info = const GTypeInfo display_info =
{ {
sizeof (CdisplayColorblindClass), sizeof (CdisplayColorblindClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -118,7 +118,7 @@ cdisplay_gamma_get_type (GTypeModule *module)
{ {
if (! cdisplay_gamma_type) if (! cdisplay_gamma_type)
{ {
static const GTypeInfo display_info = const GTypeInfo display_info =
{ {
sizeof (CdisplayGammaClass), sizeof (CdisplayGammaClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -118,7 +118,7 @@ cdisplay_contrast_get_type (GTypeModule *module)
{ {
if (! cdisplay_contrast_type) if (! cdisplay_contrast_type)
{ {
static const GTypeInfo display_info = const GTypeInfo display_info =
{ {
sizeof (CdisplayContrastClass), sizeof (CdisplayContrastClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -134,7 +134,7 @@ cdisplay_lcms_get_type (GTypeModule *module)
{ {
if (! cdisplay_lcms_type) if (! cdisplay_lcms_type)
{ {
static const GTypeInfo display_info = const GTypeInfo display_info =
{ {
sizeof (CdisplayLcmsClass), sizeof (CdisplayLcmsClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -129,7 +129,7 @@ cdisplay_proof_get_type (GTypeModule *module)
{ {
if (! cdisplay_proof_type) if (! cdisplay_proof_type)
{ {
static const GTypeInfo display_info = const GTypeInfo display_info =
{ {
sizeof (CdisplayProofClass), sizeof (CdisplayProofClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -99,7 +99,7 @@ colorsel_cmyk_get_type (GTypeModule *module)
{ {
if (! colorsel_cmyk_type) if (! colorsel_cmyk_type)
{ {
static const GTypeInfo select_info = const GTypeInfo select_info =
{ {
sizeof (ColorselCmykClass), sizeof (ColorselCmykClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -116,7 +116,7 @@ colorsel_cmyk_get_type (GTypeModule *module)
{ {
if (! colorsel_cmyk_type) if (! colorsel_cmyk_type)
{ {
static const GTypeInfo select_info = const GTypeInfo select_info =
{ {
sizeof (ColorselCmykClass), sizeof (ColorselCmykClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -137,7 +137,7 @@ colorsel_triangle_get_type (GTypeModule *module)
{ {
if (! colorsel_triangle_type) if (! colorsel_triangle_type)
{ {
static const GTypeInfo select_info = const GTypeInfo select_info =
{ {
sizeof (ColorselTriangleClass), sizeof (ColorselTriangleClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -117,7 +117,7 @@ colorsel_water_get_type (GTypeModule *module)
{ {
if (! colorsel_water_type) if (! colorsel_water_type)
{ {
static const GTypeInfo select_info = const GTypeInfo select_info =
{ {
sizeof (ColorselWaterClass), sizeof (ColorselWaterClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -183,7 +183,7 @@ linux_input_get_type (GTypeModule *module)
{ {
if (! controller_type) if (! controller_type)
{ {
static const GTypeInfo controller_info = const GTypeInfo controller_info =
{ {
sizeof (ControllerLinuxInputClass), sizeof (ControllerLinuxInputClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,

View File

@ -199,7 +199,7 @@ midi_get_type (GTypeModule *module)
{ {
if (! controller_type) if (! controller_type)
{ {
static const GTypeInfo controller_info = const GTypeInfo controller_info =
{ {
sizeof (ControllerMidiClass), sizeof (ControllerMidiClass),
(GBaseInitFunc) NULL, (GBaseInitFunc) NULL,