Add G_BEGIN_DECLS/G_END_DECLS to gcr headers.
authorStefan Walter <stefw@src.gnome.org>
Wed, 11 Feb 2009 15:00:43 +0000 (15:00 +0000)
committerStefan Walter <stefw@src.gnome.org>
Wed, 11 Feb 2009 15:00:43 +0000 (15:00 +0000)
svn path=/trunk/; revision=1555

gcr/gcr-certificate-basics-widget.h
gcr/gcr-certificate-details-widget.h
gcr/gcr-certificate.h
gcr/gcr-import-dialog.h
gcr/gcr-importer.h
gcr/gcr-parser.h
gcr/gcr-simple-certificate.h
gcr/gcr-types.h

index 28179fd..2d14237 100644 (file)
@@ -26,6 +26,8 @@
 #include "gcr-certificate.h"
 #include "gcr-types.h"
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_CERTIFICATE_BASICS_WIDGET               (gcr_certificate_basics_widget_get_type ())
 #define GCR_CERTIFICATE_BASICS_WIDGET(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE_BASICS_WIDGET, GcrCertificateBasicsWidget))
 #define GCR_CERTIFICATE_BASICS_WIDGET_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE_BASICS_WIDGET, GcrCertificateBasicsWidgetClass))
@@ -55,4 +57,6 @@ GcrCertificate*              gcr_certificate_basics_widget_get_certificate
 void                         gcr_certificate_basics_widget_set_certificate        (GcrCertificateBasicsWidget *basics,
                                                                                    GcrCertificate *cert);
 
+G_END_DECLS
+
 #endif /* __GCR_CERTIFICATE_BASICS_WIDGET_H__ */
index b71acb6..f651736 100644 (file)
@@ -26,6 +26,8 @@
 #include "gcr-certificate.h"
 #include "gcr-types.h"
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_CERTIFICATE_DETAILS_WIDGET               (gcr_certificate_details_widget_get_type ())
 #define GCR_CERTIFICATE_DETAILS_WIDGET(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidget))
 #define GCR_CERTIFICATE_DETAILS_WIDGET_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE_DETAILS_WIDGET, GcrCertificateDetailsWidgetClass))
@@ -55,4 +57,6 @@ GcrCertificate*               gcr_certificate_details_widget_get_certificate
 void                          gcr_certificate_details_widget_set_certificate        (GcrCertificateDetailsWidget *details,
                                                                                      GcrCertificate *cert);
 
+G_END_DECLS
+
 #endif /* __GCR_CERTIFICATE_DETAILS_WIDGET_H__ */
index 280b197..217cd37 100644 (file)
@@ -26,6 +26,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_CERTIFICATE                 (gcr_certificate_get_type())
 #define GCR_CERTIFICATE(obj)                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE, GcrCertificate))
 #define GCR_IS_CERTIFICATE(obj)              (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_CERTIFICATE))
@@ -83,4 +85,6 @@ guchar*             gcr_certificate_get_fingerprint        (GcrCertificate *self
 gchar*              gcr_certificate_get_fingerprint_hex    (GcrCertificate *self,
                                                             GChecksumType type);
 
+G_END_DECLS
+
 #endif /* __GCR_CERTIFICATE_H__ */
index 2465f22..a46c5f2 100644 (file)
@@ -28,6 +28,8 @@
 
 #include <gtk/gtk.h>
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_IMPORT_DIALOG               (_gcr_import_dialog_get_type ())
 #define GCR_IMPORT_DIALOG(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_IMPORT_DIALOG, GcrImportDialog))
 #define GCR_IMPORT_DIALOG_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_IMPORT_DIALOG, GcrImportDialogClass))
@@ -83,4 +85,6 @@ const gchar*        _gcr_import_dialog_get_secondary_text     (GcrImportDialog *
 void                _gcr_import_dialog_set_secondary_text     (GcrImportDialog *self,
                                                                const gchar *text);
 
+G_END_DECLS
+
 #endif /* __GCR_IMPORT_DIALOG_H__ */
index bde3808..769dac5 100644 (file)
@@ -27,6 +27,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 typedef enum {
        GCR_IMPORTER_PROMPT_NEEDED,
        GCR_IMPORTER_PROMPT_ALWAYS,
@@ -91,4 +93,6 @@ gboolean                  gcr_importer_import_finish          (GcrImporter *self
                                                                GAsyncResult *res,
                                                                GError **error);
 
+G_END_DECLS
+
 #endif /* __GCR_IMPORTER_H__ */
index 6a7bb93..10d352f 100644 (file)
@@ -26,6 +26,8 @@
 
 #include "gcr-types.h"
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_PARSER               (gcr_parser_get_type ())
 #define GCR_PARSER(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_PARSER, GcrParser))
 #define GCR_PARSER_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_PARSER, GcrParserClass))
@@ -81,4 +83,6 @@ const gchar*             gcr_parser_get_parsed_description (GcrParser *self);
 
 struct _GP11Attributes*  gcr_parser_get_parsed_attributes  (GcrParser *self);
 
+G_END_DECLS
+
 #endif /* __GCR_PARSER_H__ */
index 3a0e894..566655a 100644 (file)
@@ -26,6 +26,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define GCR_TYPE_SIMPLE_CERTIFICATE               (gcr_simple_certificate_get_type ())
 #define GCR_SIMPLE_CERTIFICATE(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_CERTIFICATE, GcrSimpleCertificate))
 #define GCR_SIMPLE_CERTIFICATE_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_CERTIFICATE, GcrSimpleCertificateClass))
@@ -51,4 +53,6 @@ GType               gcr_simple_certificate_get_type               (void);
 GcrCertificate*     gcr_simple_certificate_new                    (const guchar *data,
                                                                    gsize n_data);
 
+G_END_DECLS
+
 #endif /* __GCR_SIMPLE_CERTIFICATE_H__ */
index 3de84db..14c5dec 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 #define             GCR_DATA_ERROR                    (gcr_data_error_get_domain ())
 
 GQuark                     gcr_data_error_get_domain         (void) G_GNUC_CONST;
@@ -50,4 +52,6 @@ struct _GP11Attributes;
 struct _GP11Object;
 struct _GP11Slot;
 
+G_END_DECLS
+
 #endif /* GCRTYPES_H_ */