gnome-keyring r1549 - in trunk: . library
- From: xan svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1549 - in trunk: . library
- Date: Tue, 10 Feb 2009 16:29:08 +0000 (UTC)
Author: xan
Date: Tue Feb 10 16:29:08 2009
New Revision: 1549
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1549&view=rev
Log:
2009-02-10 Xan Lopez <xan gnome org>
Bug 571194 -G_BEGIN_DECLS/G_END_DECLS missing from headers
* library/gnome-keyring.h:
* library/gnome-keyring-memory.h:
* library/gnome-keyring-result.h:
Add G_BEGIN_DECLS/G_END_DECLS so the library can be used with a
C++ compiler.
Modified:
trunk/ChangeLog
trunk/library/gnome-keyring-memory.h
trunk/library/gnome-keyring-result.h
trunk/library/gnome-keyring.h
Modified: trunk/library/gnome-keyring-memory.h
==============================================================================
--- trunk/library/gnome-keyring-memory.h (original)
+++ trunk/library/gnome-keyring-memory.h Tue Feb 10 16:29:08 2009
@@ -26,6 +26,8 @@
#include <glib.h>
+G_BEGIN_DECLS
+
/**
* gnome-keyring-memory:Short_Description:
*
@@ -59,4 +61,6 @@
gchar* gnome_keyring_memory_strdup (const gchar* str);
+G_END_DECLS
+
#endif /* GNOME_KEYRING_MEMORY_H */
Modified: trunk/library/gnome-keyring-result.h
==============================================================================
--- trunk/library/gnome-keyring-result.h (original)
+++ trunk/library/gnome-keyring-result.h Tue Feb 10 16:29:08 2009
@@ -24,6 +24,8 @@
#ifndef GNOME_KEYRING_RESULT_H
#define GNOME_KEYRING_RESULT_H
+G_BEGIN_DECLS
+
typedef enum {
GNOME_KEYRING_RESULT_OK,
GNOME_KEYRING_RESULT_DENIED,
@@ -40,4 +42,6 @@
#define GNOME_KEYRING_RESULT_ALREADY_EXISTS \
GNOME_KEYRING_RESULT_KEYRING_ALREADY_EXISTS
+G_END_DECLS
+
#endif /* GNOME_KEYRING_RESULT_H */
Modified: trunk/library/gnome-keyring.h
==============================================================================
--- trunk/library/gnome-keyring.h (original)
+++ trunk/library/gnome-keyring.h Tue Feb 10 16:29:08 2009
@@ -29,6 +29,8 @@
#include "gnome-keyring-result.h"
+G_BEGIN_DECLS
+
#define GNOME_KEYRING_SESSION "session"
#define GNOME_KEYRING_DEFAULT NULL
@@ -516,4 +518,6 @@
GnomeKeyringResult gnome_keyring_daemon_prepare_environment_sync (void);
+G_END_DECLS
+
#endif /* GNOME_KEYRING_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]