From c6b73de3084f7996e5060872662de12e3ebbd544 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 18 Mar 2009 20:58:17 +0000 Subject: [PATCH] Move config.h inclusion to the .cc files --- src/cardwidget.cc | 4 ++++ src/channelwidget.cc | 4 ++++ src/mainwindow.cc | 4 ++++ src/minimalstreamwidget.cc | 4 ++++ src/pavucontrol.cc | 4 ++++ src/pavucontrol.h | 4 ---- src/rolewidget.cc | 4 ++++ src/sinkinputwidget.cc | 4 ++++ src/sinkwidget.cc | 4 ++++ src/sourceoutputwidget.cc | 4 ++++ src/sourcewidget.cc | 4 ++++ src/streamwidget.cc | 4 ++++ 12 files changed, 44 insertions(+), 4 deletions(-) diff --git a/src/cardwidget.cc b/src/cardwidget.cc index 4410c5f..8be1d73 100644 --- a/src/cardwidget.cc +++ b/src/cardwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "cardwidget.h" #include "i18n.h" diff --git a/src/channelwidget.cc b/src/channelwidget.cc index d6832a3..ca5b2a8 100644 --- a/src/channelwidget.cc +++ b/src/channelwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "channelwidget.h" #include "streamwidget.h" diff --git a/src/mainwindow.cc b/src/mainwindow.cc index c6451af..3cfecc3 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mainwindow.h" #include "cardwidget.h" diff --git a/src/minimalstreamwidget.cc b/src/minimalstreamwidget.cc index 63f9b02..1044d7a 100644 --- a/src/minimalstreamwidget.cc +++ b/src/minimalstreamwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "minimalstreamwidget.h" /*** MinimalStreamWidget ***/ diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc index 6dfd894..66721ba 100644 --- a/src/pavucontrol.cc +++ b/src/pavucontrol.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "pavucontrol.h" #include diff --git a/src/pavucontrol.h b/src/pavucontrol.h index 12fe986..7cb7d6f 100644 --- a/src/pavucontrol.h +++ b/src/pavucontrol.h @@ -21,10 +21,6 @@ #ifndef pavucontrol_h #define pavucontrol_h -#ifdef HAVE_CONFIG_H -#include -#endif - #include #include diff --git a/src/rolewidget.cc b/src/rolewidget.cc index 19f3f5b..e86ba3d 100644 --- a/src/rolewidget.cc +++ b/src/rolewidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "rolewidget.h" #include diff --git a/src/sinkinputwidget.cc b/src/sinkinputwidget.cc index 1d5e951..e5443f1 100644 --- a/src/sinkinputwidget.cc +++ b/src/sinkinputwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sinkinputwidget.h" #include "mainwindow.h" #include "sinkwidget.h" diff --git a/src/sinkwidget.cc b/src/sinkwidget.cc index 1eb50bc..8d21bb0 100644 --- a/src/sinkwidget.cc +++ b/src/sinkwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sinkwidget.h" #include "i18n.h" diff --git a/src/sourceoutputwidget.cc b/src/sourceoutputwidget.cc index 20f50de..eafe620 100644 --- a/src/sourceoutputwidget.cc +++ b/src/sourceoutputwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sourceoutputwidget.h" #include "mainwindow.h" #include "sourcewidget.h" diff --git a/src/sourcewidget.cc b/src/sourcewidget.cc index dd401b4..dc13f7f 100644 --- a/src/sourcewidget.cc +++ b/src/sourcewidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sourcewidget.h" #include "i18n.h" diff --git a/src/streamwidget.cc b/src/streamwidget.cc index 647e643..d020dbf 100644 --- a/src/streamwidget.cc +++ b/src/streamwidget.cc @@ -18,6 +18,10 @@ along with pavucontrol. If not, see . ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "streamwidget.h" #include "channelwidget.h"