gcr: Don't include main headers in individual components
authorStef Walter <stefw@collabora.co.uk>
Wed, 26 Oct 2011 16:59:41 +0000 (18:59 +0200)
committerStef Walter <stefw@collabora.co.uk>
Wed, 26 Oct 2011 16:59:41 +0000 (18:59 +0200)
 * Just include what we need, this helps keep rebuild times down
   and makes interdependencies clear.

18 files changed:
gcr/gcr-callback-output-stream.h
gcr/gcr-certificate-chain.c
gcr/gcr-gnupg-collection.h
gcr/gcr-gnupg-process.h
gcr/gcr-icons.c
gcr/gcr-import-button.c
gcr/gcr-import-button.h
gcr/gcr-library.c
gcr/gcr-pkcs11-import-dialog.c
gcr/gcr-pkcs11-import-dialog.h
gcr/gcr-pkcs11-import-interaction.h
gcr/gcr-secret-exchange.h
gcr/gcr-simple-certificate.h
gcr/gcr-simple-collection.h
gcr/gcr-single-collection.h
gcr/gcr-trust.c
gcr/gcr-trust.h
gcr/gcr-union-collection.h

index 51d618e..a8db5df 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef GCR_CALLBACK_OUTPUT_STREAM_H
 #define GCR_CALLBACK_OUTPUT_STREAM_H
 
-#include "gcr-base.h"
 #include "gcr-collection.h"
 
 #include <glib-object.h>
index 78a8832..9d8258a 100644 (file)
@@ -28,6 +28,7 @@
 #include "gcr-certificate.h"
 #define DEBUG_FLAG GCR_DEBUG_CERTIFICATE_CHAIN
 #include "gcr-debug.h"
+#include "gcr-enum-types-base.h"
 #include "gcr-pkcs11-certificate.h"
 #include "gcr-simple-certificate.h"
 #include "gcr-trust.h"
index a626cef..a2b631e 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef GCR_GNUPG_COLLECTION_H
 #define GCR_GNUPG_COLLECTION_H
 
-#include "gcr-base.h"
 #include "gcr-collection.h"
 
 #include <glib-object.h>
index 61e4894..da86dc3 100644 (file)
@@ -24,9 +24,9 @@
 #ifndef GCR_GNUPG_PROCESS_H
 #define GCR_GNUPG_PROCESS_H
 
-#include "gcr-base.h"
 #include "gcr-record.h"
 
+#include <gio/gio.h>
 #include <glib-object.h>
 
 G_BEGIN_DECLS
index e375d00..2a9da4e 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "config.h"
 
-#include "gcr-base.h"
 #include "gcr-icons.h"
 
 /**
index b25f20c..1e1c809 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "gcr-import-button.h"
 #include "gcr-internal.h"
+#include "gcr-library.h"
 #include "gcr-marshal.h"
 #include "gcr-parser.h"
 #include "gcr-pkcs11-import-interaction.h"
index 6c839fc..41ed222 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __GCR_IMPORT_BUTTON_H__
 #define __GCR_IMPORT_BUTTON_H__
 
-#include "gcr.h"
+#include "gcr-importer.h"
 
 #include <gtk/gtk.h>
 
index 5766bdd..6f4c3ab 100644 (file)
@@ -21,9 +21,9 @@
 
 #include "config.h"
 
-#include "gcr-base.h"
 #define DEBUG_FLAG GCR_DEBUG_LIBRARY
 #include "gcr-debug.h"
+#include "gcr-deprecated-base.h"
 #include "gcr-internal.h"
 #include "gcr-library.h"
 #include "gcr-types.h"
index e33d624..cd71482 100644 (file)
@@ -22,6 +22,7 @@
 #include "config.h"
 
 #include "gcr-dialog-util.h"
+#include "gcr-icons.h"
 #include "gcr-pkcs11-import-dialog.h"
 
 #include "egg/egg-entry-buffer.h"
index 38a1dd4..5c7da89 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef __GCR_PKCS11_IMPORT_DIALOG_H__
 #define __GCR_PKCS11_IMPORT_DIALOG_H__
 
-#include "gcr.h"
+#include <gck/gck.h>
 
 #include <gtk/gtk.h>
 
index 97027ba..1ddc30f 100644 (file)
@@ -24,8 +24,6 @@
 #ifndef __GCR_PKCS11_IMPORT_INTERACTION_H__
 #define __GCR_PKCS11_IMPORT_INTERACTION_H__
 
-#include "gcr.h"
-
 #include "gcr-pkcs11-import-dialog.h"
 
 G_BEGIN_DECLS
index 5608f63..28b45b9 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __GCR_SECRET_EXCHANGE_H__
 #define __GCR_SECRET_EXCHANGE_H__
 
-#include "gcr-base.h"
+#include <gck/gck.h>
 
 #include <glib-object.h>
 
index c363a86..3346f92 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef __GCR_SIMPLE_CERTIFICATE_H__
 #define __GCR_SIMPLE_CERTIFICATE_H__
 
-#include "gcr-base.h"
-
 #include <glib-object.h>
 
 G_BEGIN_DECLS
index e78c48c..151da2a 100644 (file)
@@ -22,7 +22,6 @@
 #ifndef __GCR_SIMPLE_COLLECTION_H__
 #define __GCR_SIMPLE_COLLECTION_H__
 
-#include "gcr-base.h"
 #include "gcr-collection.h"
 
 #include <glib-object.h>
index 9bd598f..328474e 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef __GCR_SINGLE_COLLECTION_H__
 #define __GCR_SINGLE_COLLECTION_H__
 
-#include "gcr-base.h"
 #include "gcr-collection.h"
 
 #include <glib-object.h>
index 4959cb6..b28b28c 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "config.h"
 
-#include "gcr-base.h"
 #define DEBUG_FLAG GCR_DEBUG_TRUST
 #include "gcr-debug.h"
 #include "gcr-types.h"
index 79db47f..078bd3b 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef __GCR_TRUST_H__
 #define __GCR_TRUST_H__
 
+#include "gcr-certificate.h"
 #include "gcr-types.h"
 
 G_BEGIN_DECLS
index 15c207f..f558ba9 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef __GCR_UNION_COLLECTION_H__
 #define __GCR_UNION_COLLECTION_H__
 
-#include "gcr-base.h"
 #include "gcr-collection.h"
 
 #include <glib-object.h>