[sound-juicer] Do #include <config.h> in the .c files only.
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Do #include <config.h> in the .c files only.
- Date: Sat, 10 Sep 2011 14:58:41 +0000 (UTC)
commit a0bd78adcb0f29ca7fbcab8aa101c04a65fc024d
Author: Kjartan Maraas <kmaraas gnome org>
Date: Mon Mar 28 09:57:24 2011 +0200
Do #include <config.h> in the .c files only.
https://bugzilla.gnome.org/show_bug.cgi?id=645901
src/bacon-message-connection.c | 4 ++++
src/egg-play-preview.c | 4 ++++
src/sj-about.c | 4 ++++
src/sj-extracting.c | 4 ++++
src/sj-genres.c | 6 +++++-
src/sj-inhibit.c | 4 ++++
src/sj-main.c | 4 ++++
src/sj-prefs.c | 4 ++++
src/sound-juicer.h | 4 ----
9 files changed, 33 insertions(+), 5 deletions(-)
---
diff --git a/src/bacon-message-connection.c b/src/bacon-message-connection.c
index c8000de..972d8e0 100644
--- a/src/bacon-message-connection.c
+++ b/src/bacon-message-connection.c
@@ -17,6 +17,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/src/egg-play-preview.c b/src/egg-play-preview.c
index 004a6f3..0d7e99f 100644
--- a/src/egg-play-preview.c
+++ b/src/egg-play-preview.c
@@ -22,6 +22,10 @@
* Authors: Luca Cavalli <luca cavalli gmail com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
diff --git a/src/sj-about.c b/src/sj-about.c
index 7cf4f5e..2b93fa3 100644
--- a/src/sj-about.c
+++ b/src/sj-about.c
@@ -20,6 +20,10 @@
* Authors: Ross Burton <ross burtonini com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sound-juicer.h"
#include <gtk/gtk.h>
diff --git a/src/sj-extracting.c b/src/sj-extracting.c
index 27cc4d4..dab3dbd 100644
--- a/src/sj-extracting.c
+++ b/src/sj-extracting.c
@@ -20,6 +20,10 @@
* Authors: Ross Burton <ross burtonini com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sound-juicer.h"
#include <sys/time.h>
diff --git a/src/sj-genres.c b/src/sj-genres.c
index 95cec6d..5dfbbfe 100644
--- a/src/sj-genres.c
+++ b/src/sj-genres.c
@@ -20,6 +20,10 @@
* Authors: Jonh Wendell <wendell bani com br>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <glib/gi18n.h>
@@ -188,4 +192,4 @@ void save_genre (GtkWidget *entry) {
setup_genre_entry (entry);
}
-/* vim: ts=8 */
+
diff --git a/src/sj-inhibit.c b/src/sj-inhibit.c
index fc804d2..7edc28a 100644
--- a/src/sj-inhibit.c
+++ b/src/sj-inhibit.c
@@ -21,6 +21,10 @@
* Authors: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <dbus/dbus-glib.h>
#include "sj-inhibit.h"
diff --git a/src/sj-main.c b/src/sj-main.c
index d8f6c8d..bd21ff8 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -21,6 +21,10 @@
* Mike Hearn <mike theoretic com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sound-juicer.h"
#include <string.h>
diff --git a/src/sj-prefs.c b/src/sj-prefs.c
index aeb2bc5..10dd220 100644
--- a/src/sj-prefs.c
+++ b/src/sj-prefs.c
@@ -20,6 +20,10 @@
* Authors: Ross Burton <ross burtonini com>
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "sound-juicer.h"
#include <string.h>
diff --git a/src/sound-juicer.h b/src/sound-juicer.h
index 16d2c94..2200fd0 100644
--- a/src/sound-juicer.h
+++ b/src/sound-juicer.h
@@ -23,10 +23,6 @@
#ifndef SOUND_JUICER_H
#define SOUND_JUICER_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
-
#include <glib/gi18n.h>
#include <brasero-medium-selection.h>
#include <gconf/gconf-client.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]