mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
modules: remove "static" from all modules' get_type() functions
Their implementations are defined by G_DEFINE_DYNAMIC_TYPE(), so the compiler complained about the unused static prototype.
This commit is contained in:
@@ -62,7 +62,7 @@ struct _ColorselCmykClass
|
||||
};
|
||||
|
||||
|
||||
static GType colorsel_cmyk_get_type (void);
|
||||
GType colorsel_cmyk_get_type (void);
|
||||
|
||||
static void colorsel_cmyk_dispose (GObject *object);
|
||||
|
||||
|
@@ -64,7 +64,7 @@ struct _ColorselWaterClass
|
||||
};
|
||||
|
||||
|
||||
static GType colorsel_water_get_type (void);
|
||||
GType colorsel_water_get_type (void);
|
||||
|
||||
static void colorsel_water_dispose (GObject *object);
|
||||
|
||||
@@ -148,8 +148,6 @@ colorsel_water_init (ColorselWater *water)
|
||||
GtkAdjustment *adj;
|
||||
GtkWidget *scale;
|
||||
|
||||
colorsel_water_get_type (); /* useless function call to silence compiler */
|
||||
|
||||
water->pressure_adjust = 1.0;
|
||||
|
||||
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
|
||||
|
@@ -56,7 +56,7 @@ struct _ColorselWheelClass
|
||||
};
|
||||
|
||||
|
||||
static GType colorsel_wheel_get_type (void);
|
||||
GType colorsel_wheel_get_type (void);
|
||||
|
||||
static void colorsel_wheel_set_color (GimpColorSelector *selector,
|
||||
const GimpRGB *rgb,
|
||||
|
@@ -125,7 +125,7 @@ struct _ControllerDXDInputClass
|
||||
};
|
||||
|
||||
|
||||
static GType controller_dx_dinput_get_type (void);
|
||||
GType controller_dx_dinput_get_type (void);
|
||||
|
||||
static void dx_dinput_dispose (GObject *object);
|
||||
static void dx_dinput_finalize (GObject *object);
|
||||
|
@@ -144,7 +144,7 @@ struct _ControllerLinuxInputClass
|
||||
};
|
||||
|
||||
|
||||
static GType controller_linux_input_get_type (void);
|
||||
GType controller_linux_input_get_type (void);
|
||||
|
||||
static void linux_input_dispose (GObject *object);
|
||||
static void linux_input_finalize (GObject *object);
|
||||
|
@@ -104,7 +104,7 @@ struct _ControllerMidiClass
|
||||
};
|
||||
|
||||
|
||||
static GType controller_midi_get_type (void);
|
||||
GType controller_midi_get_type (void);
|
||||
|
||||
static void midi_dispose (GObject *object);
|
||||
static void midi_set_property (GObject *object,
|
||||
|
@@ -60,7 +60,7 @@ enum
|
||||
};
|
||||
|
||||
|
||||
static GType cdisplay_aces_rrt_get_type (void);
|
||||
GType cdisplay_aces_rrt_get_type (void);
|
||||
|
||||
static void cdisplay_aces_rrt_set_property (GObject *object,
|
||||
guint property_id,
|
||||
|
@@ -92,7 +92,7 @@ enum
|
||||
};
|
||||
|
||||
|
||||
static GType cdisplay_clip_warning_get_type (void);
|
||||
GType cdisplay_clip_warning_get_type (void);
|
||||
|
||||
static void cdisplay_clip_warning_set_property (GObject *object,
|
||||
guint property_id,
|
||||
|
@@ -111,7 +111,7 @@ enum
|
||||
};
|
||||
|
||||
|
||||
static GType cdisplay_colorblind_get_type (void);
|
||||
GType cdisplay_colorblind_get_type (void);
|
||||
|
||||
static void cdisplay_colorblind_set_property (GObject *object,
|
||||
guint property_id,
|
||||
|
@@ -62,7 +62,7 @@ enum
|
||||
};
|
||||
|
||||
|
||||
static GType cdisplay_gamma_get_type (void);
|
||||
GType cdisplay_gamma_get_type (void);
|
||||
|
||||
static void cdisplay_gamma_set_property (GObject *object,
|
||||
guint property_id,
|
||||
|
@@ -62,7 +62,7 @@ enum
|
||||
};
|
||||
|
||||
|
||||
static GType cdisplay_contrast_get_type (void);
|
||||
GType cdisplay_contrast_get_type (void);
|
||||
|
||||
static void cdisplay_contrast_set_property (GObject *object,
|
||||
guint property_id,
|
||||
|
Reference in New Issue
Block a user