[mousetweaks] Reapply: "Fix up the config.h includes"
- From: Gerd Kohlberger <gerdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetweaks] Reapply: "Fix up the config.h includes"
- Date: Wed, 11 May 2011 19:48:41 +0000 (UTC)
commit 1b2113eb3c7e6098e57ca3343ee13295ef02494f
Author: Gerd Kohlberger <gerdk src gnome org>
Date: Wed May 11 21:45:58 2011 +0200
Reapply: "Fix up the config.h includes"
This reverts commit 0f08cf4c65f1a92d39069278ce5e009e78daf886.
src/dwell-click-applet.c | 4 ++++
src/mt-common.c | 4 ++++
src/mt-common.h | 4 ----
src/mt-main.c | 4 ++++
src/pointer-capture-applet.c | 4 ++++
5 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/src/dwell-click-applet.c b/src/dwell-click-applet.c
index 7421f5b..e1031fd 100644
--- a/src/dwell-click-applet.c
+++ b/src/dwell-click-applet.c
@@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <gio/gio.h>
diff --git a/src/mt-common.c b/src/mt-common.c
index 7b496bc..355ed68 100644
--- a/src/mt-common.c
+++ b/src/mt-common.c
@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "mt-common.h"
Display *
diff --git a/src/mt-common.h b/src/mt-common.h
index 6e5db41..e3a3165 100644
--- a/src/mt-common.h
+++ b/src/mt-common.h
@@ -17,10 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#ifndef __MT_COMMON_H__
#define __MT_COMMON_H__
diff --git a/src/mt-main.c b/src/mt-main.c
index c99303c..24d071d 100644
--- a/src/mt-main.c
+++ b/src/mt-main.c
@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
diff --git a/src/pointer-capture-applet.c b/src/pointer-capture-applet.c
index 84c5710..c815203 100644
--- a/src/pointer-capture-applet.c
+++ b/src/pointer-capture-applet.c
@@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <gtk/gtk.h>
#include <panel-applet.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]