[seahorse] Do #include <config.h> in the .c files only.



commit 65280aa0efa2ba73892f6789887af0c2c37097eb
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Mon Mar 28 10:20:29 2011 +0200

    Do #include <config.h> in the .c files only.

 daemon/seahorse-daemon.h                 |    1 -
 libegg/egg-datetime.c                    |    4 ++++
 libseahorse/seahorse-keyserver-control.c |    4 ++++
 libseahorse/seahorse-util.h              |    1 -
 pgp/seahorse-ldap-source.h               |    1 -
 src/seahorse-keyserver-search.c          |    3 +++
 ssh/seahorse-algo.c                      |    4 ++++
 7 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/daemon/seahorse-daemon.h b/daemon/seahorse-daemon.h
index 2487320..612ed50 100644
--- a/daemon/seahorse-daemon.h
+++ b/daemon/seahorse-daemon.h
@@ -22,7 +22,6 @@
 #ifndef _SEAHORSE_DAEMON_H_
 #define _SEAHORSE_DAEMON_H_
 
-#include "config.h"
 #include <dbus/dbus-glib-bindings.h>
 
 /* seahorse-dbus-server.c --------------------------------------------------- */
diff --git a/libegg/egg-datetime.c b/libegg/egg-datetime.c
index fe1e329..eb96832 100644
--- a/libegg/egg-datetime.c
+++ b/libegg/egg-datetime.c
@@ -20,6 +20,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <libintl.h>
 
 #include <stdio.h>
diff --git a/libseahorse/seahorse-keyserver-control.c b/libseahorse/seahorse-keyserver-control.c
index 518a7d7..187cd35 100644
--- a/libseahorse/seahorse-keyserver-control.c
+++ b/libseahorse/seahorse-keyserver-control.c
@@ -19,6 +19,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "seahorse-context.h"
 #include "seahorse-gconf.h"
 #include "seahorse-keyserver-control.h"
diff --git a/libseahorse/seahorse-util.h b/libseahorse/seahorse-util.h
index 888d485..2ca131c 100644
--- a/libseahorse/seahorse-util.h
+++ b/libseahorse/seahorse-util.h
@@ -30,7 +30,6 @@
 #include <gtk/gtk.h>
 #include <time.h>
 
-#include "config.h"
 #include "seahorse-context.h"
 
 #ifdef WITH_SHARING
diff --git a/pgp/seahorse-ldap-source.h b/pgp/seahorse-ldap-source.h
index e308691..27d7f0a 100644
--- a/pgp/seahorse-ldap-source.h
+++ b/pgp/seahorse-ldap-source.h
@@ -29,7 +29,6 @@
 #ifndef __SEAHORSE_LDAP_SOURCE_H__
 #define __SEAHORSE_LDAP_SOURCE_H__
 
-#include "config.h"
 #include "seahorse-server-source.h"
 
 #ifdef WITH_LDAP
diff --git a/src/seahorse-keyserver-search.c b/src/seahorse-keyserver-search.c
index 38e5215..4ae5528 100644
--- a/src/seahorse-keyserver-search.c
+++ b/src/seahorse-keyserver-search.c
@@ -19,6 +19,9 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "seahorse-context.h"
 #include "seahorse-dns-sd.h"
diff --git a/ssh/seahorse-algo.c b/ssh/seahorse-algo.c
index cffea4a..7b69e11 100644
--- a/ssh/seahorse-algo.c
+++ b/ssh/seahorse-algo.c
@@ -25,6 +25,10 @@
  * Minor modifications by Stef Walter <stef memberwebs com>
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 
 void seahorse_md5_transform(unsigned int buf[4], unsigned int const in[16]);



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