[gnome-keyring] gcr: Fix build issues with gcr-icons.h header



commit 4454017488a1af1645de9fc8bb6b4f9aadf24f68
Author: Stef Walter <stefw collabora co uk>
Date:   Wed Oct 5 11:55:55 2011 +0200

    gcr: Fix build issues with gcr-icons.h header

 gcr/gcr-icons.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gcr/gcr-icons.h b/gcr/gcr-icons.h
index ae2b952..7fb4f6c 100644
--- a/gcr/gcr-icons.h
+++ b/gcr/gcr-icons.h
@@ -20,13 +20,17 @@
  * 02111-1307, USA.
  */
 
+#if !defined (__GCR_INSIDE_HEADER__) && !defined (GCR_COMPILATION)
+#error "Only <gcr/gcr.h> or <gcr/gcr-base.h> can be included directly."
+#endif
+
 #ifndef __GCR_ICONS_H__
 #define __GCR_ICONS_H__
 
-#include "gcr-internal.h"
-
 #include <gck/gck.h>
 
+#include <gio/gio.h>
+
 G_BEGIN_DECLS
 
 #define GCR_ICON_CERTIFICATE    "application-certificate"



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