[gnome-color-manager] include <config.h> in .c files and remove it from headers.



commit f45993ba957f08ec3d60654022ae9b8b6be14f56
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 30 12:39:24 2011 +0200

    include <config.h> in .c files and remove it from headers.

 src/gcm-compat.h    |    2 --
 src/gcm-debug.h     |    2 --
 src/gcm-self-test.c |    2 ++
 3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gcm-compat.h b/src/gcm-compat.h
index e20a407..e78656f 100644
--- a/src/gcm-compat.h
+++ b/src/gcm-compat.h
@@ -22,8 +22,6 @@
 #ifndef __GCM_COMPAT_H__
 #define __GCM_COMPAT_H__
 
-#include "config.h"
-
 /* only libusb 1.0.8 has libusb_strerror */
 #ifndef HAVE_NEW_USB
 #define	libusb_strerror(f1)				"unknown"
diff --git a/src/gcm-debug.h b/src/gcm-debug.h
index 5a93065..7ecae69 100644
--- a/src/gcm-debug.h
+++ b/src/gcm-debug.h
@@ -24,8 +24,6 @@
 
 #include <glib.h>
 
-#include "config.h"
-
 gboolean	 gcm_debug_is_verbose		(void);
 GOptionGroup	*gcm_debug_get_option_group	(void);
 void		 gcm_debug_setup		(gboolean	 enabled);
diff --git a/src/gcm-self-test.c b/src/gcm-self-test.c
index bbf3577..b153eea 100644
--- a/src/gcm-self-test.c
+++ b/src/gcm-self-test.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include "config.h"
+
 #include <glib-object.h>
 #include <math.h>
 #include <glib/gstdio.h>



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