Commit 3c006d0a authored by Michael Natterer's avatar Michael Natterer 😴

modules: make all get_type() functions static

parent 9f610ef3
......@@ -59,7 +59,7 @@ struct _ColorselWaterClass
};
GType colorsel_water_get_type (void);
static GType colorsel_water_get_type (void);
static gboolean select_area_expose (GtkWidget *widget,
GdkEventExpose *event);
......
......@@ -56,7 +56,7 @@ struct _ColorselWheelClass
};
GType colorsel_wheel_get_type (void);
static GType colorsel_wheel_get_type (void);
static void colorsel_wheel_set_color (GimpColorSelector *selector,
const GimpRGB *rgb,
......
......@@ -124,7 +124,7 @@ struct _ControllerDXDInputClass
};
GType controller_dx_dinput_get_type (void);
static GType controller_dx_dinput_get_type (void);
static void dx_dinput_dispose (GObject *object);
static void dx_dinput_finalize (GObject *object);
......
......@@ -143,7 +143,7 @@ struct _ControllerLinuxInputClass
};
GType controller_linux_input_get_type (void);
static GType controller_linux_input_get_type (void);
static void linux_input_dispose (GObject *object);
static void linux_input_finalize (GObject *object);
......
......@@ -103,7 +103,7 @@ struct _ControllerMidiClass
};
GType controller_midi_get_type (void);
static GType controller_midi_get_type (void);
static void midi_dispose (GObject *object);
static void midi_set_property (GObject *object,
......
......@@ -114,7 +114,7 @@ enum
};
GType cdisplay_colorblind_get_type (void);
static GType cdisplay_colorblind_get_type (void);
static void cdisplay_colorblind_set_property (GObject *object,
guint property_id,
......
......@@ -63,7 +63,7 @@ enum
};
GType cdisplay_gamma_get_type (void);
static GType cdisplay_gamma_get_type (void);
static void cdisplay_gamma_set_property (GObject *object,
guint property_id,
......@@ -91,6 +91,7 @@ static const GimpModuleInfo cdisplay_gamma_info =
"October 14, 2000"
};
G_DEFINE_DYNAMIC_TYPE (CdisplayGamma, cdisplay_gamma,
GIMP_TYPE_COLOR_DISPLAY)
......
......@@ -63,7 +63,7 @@ enum
};
GType cdisplay_contrast_get_type (void);
static GType cdisplay_contrast_get_type (void);
static void cdisplay_contrast_set_property (GObject *object,
guint property_id,
......@@ -91,6 +91,7 @@ static const GimpModuleInfo cdisplay_contrast_info =
"October 14, 2000"
};
G_DEFINE_DYNAMIC_TYPE (CdisplayContrast, cdisplay_contrast,
GIMP_TYPE_COLOR_DISPLAY)
......
......@@ -69,7 +69,7 @@ enum
};
GType cdisplay_proof_get_type (void);
static GType cdisplay_proof_get_type (void);
static void cdisplay_proof_finalize (GObject *object);
static void cdisplay_proof_get_property (GObject *object,
......@@ -98,9 +98,11 @@ static const GimpModuleInfo cdisplay_proof_info =
"November 14, 2003"
};
G_DEFINE_DYNAMIC_TYPE (CdisplayProof, cdisplay_proof,
GIMP_TYPE_COLOR_DISPLAY)
G_MODULE_EXPORT const GimpModuleInfo *
gimp_module_query (GTypeModule *module)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment