[mousetweaks] Fix up the config.h includes



commit 3d3e11054a52c0728dd6e0880b9d4aea9d9cec86
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Mon Mar 28 12:53:09 2011 +0200

    Fix up the config.h includes

 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 3aff2f9..ee79bf4 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 712d5c7..e3a3165 100644
--- a/src/mt-common.h
+++ b/src/mt-common.h
@@ -20,10 +20,6 @@
 #ifndef __MT_COMMON_H__
 #define __MT_COMMON_H__
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkx.h>
diff --git a/src/mt-main.c b/src/mt-main.c
index ef07c0d..594831d 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 23f67a2..3654272 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]