[gnome-color-manager] trivial: Actually apply the warning flags



commit d402edb9e802893d6e12cdbc94289ea5e06be730
Author: Richard Hughes <richard hughsie com>
Date:   Sat Aug 27 08:30:53 2016 +0100

    trivial: Actually apply the warning flags

 configure.ac         |    1 +
 src/gcm-brightness.h |    1 -
 src/gcm-calibrate.h  |    1 -
 src/gcm-exif.h       |    1 -
 src/gcm-print.h      |    1 -
 5 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d80c0ba..d256714 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ WARN_CFLAGS_EXTRA="
        -Wunused-but-set-variable
        -Wwrite-strings"
 AX_APPEND_COMPILE_FLAGS([$WARN_CFLAGS_EXTRA], [WARN_CFLAGS])
+AC_SUBST(WARN_CFLAGS)
 
 dnl ---------------------------------------------------------------------------
 dnl - gettext stuff
diff --git a/src/gcm-brightness.h b/src/gcm-brightness.h
index b1e31eb..4f875d0 100644
--- a/src/gcm-brightness.h
+++ b/src/gcm-brightness.h
@@ -34,7 +34,6 @@ struct _GcmBrightnessClass
        GObjectClass    parent_class;
 };
 
-GType           gcm_brightness_get_type                (void);
 GcmBrightness  *gcm_brightness_new                     (void);
 gboolean        gcm_brightness_set_percentage          (GcmBrightness          *brightness,
                                                         guint                   percentage,
diff --git a/src/gcm-calibrate.h b/src/gcm-calibrate.h
index 62bc3b7..fc6b1b4 100644
--- a/src/gcm-calibrate.h
+++ b/src/gcm-calibrate.h
@@ -124,7 +124,6 @@ typedef enum {
        GCM_CALIBRATE_UI_UNKNOWN
 } GcmCalibrateUiType;
 
-GType           gcm_calibrate_get_type                 (void);
 GcmCalibrate   *gcm_calibrate_new                      (void);
 
 /* designed for gcm-calibrate to call */
diff --git a/src/gcm-exif.h b/src/gcm-exif.h
index 60a8b7d..4c133c3 100644
--- a/src/gcm-exif.h
+++ b/src/gcm-exif.h
@@ -46,7 +46,6 @@ typedef enum
 /* dummy */
 #define GCM_EXIF_ERROR 1
 
-GType           gcm_exif_get_type                      (void);
 GcmExif                *gcm_exif_new                           (void);
 
 const gchar    *gcm_exif_get_manufacturer              (GcmExif        *exif);
diff --git a/src/gcm-print.h b/src/gcm-print.h
index 3ab40bf..3adce6c 100644
--- a/src/gcm-print.h
+++ b/src/gcm-print.h
@@ -41,7 +41,6 @@ typedef GPtrArray     *(*GcmPrintRenderCb)            (GcmPrint               *print,
                                                         gpointer                user_data,
                                                         GError                 **error);
 
-GType                   gcm_print_get_type             (void);
 GcmPrint               *gcm_print_new                  (void);
 gboolean                gcm_print_with_render_callback (GcmPrint               *print,
                                                         GtkWindow              *window,


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