gnome-keyring r1555 - in trunk: . gcr
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1555 - in trunk: . gcr
- Date: Wed, 11 Feb 2009 15:00:43 +0000 (UTC)
Author: nnielsen
Date: Wed Feb 11 15:00:43 2009
New Revision: 1555
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1555&view=rev
Log:
Add G_BEGIN_DECLS/G_END_DECLS to gcr headers.
Modified:
trunk/ChangeLog
trunk/gcr/gcr-certificate-basics-widget.h
trunk/gcr/gcr-certificate-details-widget.h
trunk/gcr/gcr-certificate.h
trunk/gcr/gcr-import-dialog.h
trunk/gcr/gcr-importer.h
trunk/gcr/gcr-parser.h
trunk/gcr/gcr-simple-certificate.h
trunk/gcr/gcr-types.h
Modified: trunk/gcr/gcr-certificate-basics-widget.h
==============================================================================
--- trunk/gcr/gcr-certificate-basics-widget.h (original)
+++ trunk/gcr/gcr-certificate-basics-widget.h Wed Feb 11 15:00:43 2009
@@ -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 @@
void gcr_certificate_basics_widget_set_certificate (GcrCertificateBasicsWidget *basics,
GcrCertificate *cert);
+G_END_DECLS
+
#endif /* __GCR_CERTIFICATE_BASICS_WIDGET_H__ */
Modified: trunk/gcr/gcr-certificate-details-widget.h
==============================================================================
--- trunk/gcr/gcr-certificate-details-widget.h (original)
+++ trunk/gcr/gcr-certificate-details-widget.h Wed Feb 11 15:00:43 2009
@@ -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 @@
void gcr_certificate_details_widget_set_certificate (GcrCertificateDetailsWidget *details,
GcrCertificate *cert);
+G_END_DECLS
+
#endif /* __GCR_CERTIFICATE_DETAILS_WIDGET_H__ */
Modified: trunk/gcr/gcr-certificate.h
==============================================================================
--- trunk/gcr/gcr-certificate.h (original)
+++ trunk/gcr/gcr-certificate.h Wed Feb 11 15:00:43 2009
@@ -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 @@
gchar* gcr_certificate_get_fingerprint_hex (GcrCertificate *self,
GChecksumType type);
+G_END_DECLS
+
#endif /* __GCR_CERTIFICATE_H__ */
Modified: trunk/gcr/gcr-import-dialog.h
==============================================================================
--- trunk/gcr/gcr-import-dialog.h (original)
+++ trunk/gcr/gcr-import-dialog.h Wed Feb 11 15:00:43 2009
@@ -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 @@
void _gcr_import_dialog_set_secondary_text (GcrImportDialog *self,
const gchar *text);
+G_END_DECLS
+
#endif /* __GCR_IMPORT_DIALOG_H__ */
Modified: trunk/gcr/gcr-importer.h
==============================================================================
--- trunk/gcr/gcr-importer.h (original)
+++ trunk/gcr/gcr-importer.h Wed Feb 11 15:00:43 2009
@@ -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 @@
GAsyncResult *res,
GError **error);
+G_END_DECLS
+
#endif /* __GCR_IMPORTER_H__ */
Modified: trunk/gcr/gcr-parser.h
==============================================================================
--- trunk/gcr/gcr-parser.h (original)
+++ trunk/gcr/gcr-parser.h Wed Feb 11 15:00:43 2009
@@ -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 @@
struct _GP11Attributes* gcr_parser_get_parsed_attributes (GcrParser *self);
+G_END_DECLS
+
#endif /* __GCR_PARSER_H__ */
Modified: trunk/gcr/gcr-simple-certificate.h
==============================================================================
--- trunk/gcr/gcr-simple-certificate.h (original)
+++ trunk/gcr/gcr-simple-certificate.h Wed Feb 11 15:00:43 2009
@@ -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 @@
GcrCertificate* gcr_simple_certificate_new (const guchar *data,
gsize n_data);
+G_END_DECLS
+
#endif /* __GCR_SIMPLE_CERTIFICATE_H__ */
Modified: trunk/gcr/gcr-types.h
==============================================================================
--- trunk/gcr/gcr-types.h (original)
+++ trunk/gcr/gcr-types.h Wed Feb 11 15:00:43 2009
@@ -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 _GP11Object;
struct _GP11Slot;
+G_END_DECLS
+
#endif /* GCRTYPES_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]