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

@ -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,