[gimp] modules: make all get_type() functions static



commit 3c006d0a4f70a413aead1c9dd0fae1045f7dc6c9
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jan 17 20:57:50 2013 +0100

    modules: make all get_type() functions static

 modules/color-selector-water.c         |    2 +-
 modules/color-selector-wheel.c         |    2 +-
 modules/controller-dx-dinput.c         |    2 +-
 modules/controller-linux-input.c       |    2 +-
 modules/controller-midi.c              |    2 +-
 modules/display-filter-color-blind.c   |    2 +-
 modules/display-filter-gamma.c         |    3 ++-
 modules/display-filter-high-contrast.c |    3 ++-
 modules/display-filter-proof.c         |    4 +++-
 9 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/modules/color-selector-water.c b/modules/color-selector-water.c
index 50da893..ecc304c 100644
--- a/modules/color-selector-water.c
+++ b/modules/color-selector-water.c
@@ -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);
diff --git a/modules/color-selector-wheel.c b/modules/color-selector-wheel.c
index 0375dc9..e0e2635 100644
--- a/modules/color-selector-wheel.c
+++ b/modules/color-selector-wheel.c
@@ -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,
diff --git a/modules/controller-dx-dinput.c b/modules/controller-dx-dinput.c
index 745c325..42f95d2 100644
--- a/modules/controller-dx-dinput.c
+++ b/modules/controller-dx-dinput.c
@@ -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);
diff --git a/modules/controller-linux-input.c b/modules/controller-linux-input.c
index fe3f5e8..7f6eb58 100644
--- a/modules/controller-linux-input.c
+++ b/modules/controller-linux-input.c
@@ -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);
diff --git a/modules/controller-midi.c b/modules/controller-midi.c
index 7f70d8e..c58cad1 100644
--- a/modules/controller-midi.c
+++ b/modules/controller-midi.c
@@ -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,
diff --git a/modules/display-filter-color-blind.c b/modules/display-filter-color-blind.c
index b7a86d5..cbf1ef2 100644
--- a/modules/display-filter-color-blind.c
+++ b/modules/display-filter-color-blind.c
@@ -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,
diff --git a/modules/display-filter-gamma.c b/modules/display-filter-gamma.c
index 70c55eb..eb919cc 100644
--- a/modules/display-filter-gamma.c
+++ b/modules/display-filter-gamma.c
@@ -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)
 
diff --git a/modules/display-filter-high-contrast.c b/modules/display-filter-high-contrast.c
index 952c637..422b192 100644
--- a/modules/display-filter-high-contrast.c
+++ b/modules/display-filter-high-contrast.c
@@ -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)
 
diff --git a/modules/display-filter-proof.c b/modules/display-filter-proof.c
index 0be05a1..92ec51b 100644
--- a/modules/display-filter-proof.c
+++ b/modules/display-filter-proof.c
@@ -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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]