aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 00:56:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 00:56:51 +0800
commit67159043da2de9df576f6a4eaa245e0c3926f004 (patch)
tree2a1bb98e3bb539c105afb6c334594be3c3dfdf69 /addressbook
parent801224c346db9ab6564da0ef9dd96d4e54c2252c (diff)
downloadgsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.gz
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.zst
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.zip
Use G_BEGIN_DECLS / G_END_DECLS macros.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/e-minicard-label.h9
-rw-r--r--addressbook/gui/widgets/e-minicard.h9
-rw-r--r--addressbook/gui/widgets/eab-config.h9
-rw-r--r--addressbook/gui/widgets/eab-menu.h9
-rw-r--r--addressbook/gui/widgets/eab-popup.h9
-rw-r--r--addressbook/tools/evolution-addressbook-export.h9
6 files changed, 12 insertions, 42 deletions
diff --git a/addressbook/gui/widgets/e-minicard-label.h b/addressbook/gui/widgets/e-minicard-label.h
index f6b0607ca6..df68210473 100644
--- a/addressbook/gui/widgets/e-minicard-label.h
+++ b/addressbook/gui/widgets/e-minicard-label.h
@@ -26,10 +26,7 @@
#include <glib.h>
#include <libgnomecanvas/gnome-canvas.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* EMinicardLabel - A label doing focus with non-marching ants.
*
@@ -81,9 +78,7 @@ GType e_minicard_label_get_type (void);
GnomeCanvasItem *e_minicard_label_new(GnomeCanvasGroup *parent);
void e_minicard_label_construct (GnomeCanvasItem *item);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_MINICARD_LABEL_H__ */
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h
index 9ab025185c..64fa90bbac 100644
--- a/addressbook/gui/widgets/e-minicard.h
+++ b/addressbook/gui/widgets/e-minicard.h
@@ -28,10 +28,7 @@
#include <libgnomecanvas/gnome-canvas.h>
#include <libebook/e-contact.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* EMinicard - A small card displaying information about a contact.
*
@@ -127,9 +124,7 @@ gint e_minicard_selected (EMinicard *minicard,
GdkEvent *event);
gboolean e_minicard_activate_editor (EMinicard *minicard);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __E_MINICARD_H__ */
diff --git a/addressbook/gui/widgets/eab-config.h b/addressbook/gui/widgets/eab-config.h
index edc13bbb1b..8ecc8525bc 100644
--- a/addressbook/gui/widgets/eab-config.h
+++ b/addressbook/gui/widgets/eab-config.h
@@ -28,10 +28,7 @@
#include "e-util/e-config.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif
+G_BEGIN_DECLS
typedef struct _EABConfig EABConfig;
typedef struct _EABConfigClass EABConfigClass;
@@ -78,8 +75,6 @@ struct _EABConfigHookClass {
GType eab_config_hook_get_type (void);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif
diff --git a/addressbook/gui/widgets/eab-menu.h b/addressbook/gui/widgets/eab-menu.h
index 53e2e88b25..9ab4b10f98 100644
--- a/addressbook/gui/widgets/eab-menu.h
+++ b/addressbook/gui/widgets/eab-menu.h
@@ -28,10 +28,7 @@
#include "e-util/e-menu.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
struct _EBook;
@@ -103,8 +100,6 @@ struct _EABMenuHookClass {
GType eab_menu_hook_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EAB_MENU_H__ */
diff --git a/addressbook/gui/widgets/eab-popup.h b/addressbook/gui/widgets/eab-popup.h
index 2be355cf25..d1d0ed3225 100644
--- a/addressbook/gui/widgets/eab-popup.h
+++ b/addressbook/gui/widgets/eab-popup.h
@@ -28,10 +28,7 @@
#include "e-util/e-popup.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define ADAPTED_TO_E_NAME_SELECTOR 1
@@ -194,8 +191,6 @@ struct _EABPopupHookClass {
GType eab_popup_hook_get_type(void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __EAB_POPUP_H__ */
diff --git a/addressbook/tools/evolution-addressbook-export.h b/addressbook/tools/evolution-addressbook-export.h
index 815f524300..1d150b3f2a 100644
--- a/addressbook/tools/evolution-addressbook-export.h
+++ b/addressbook/tools/evolution-addressbook-export.h
@@ -26,10 +26,7 @@
#include <glib.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define SUCCESS 0
#define FAILED -1
@@ -74,8 +71,6 @@ guint action_list_folders_init (ActionContext * p_actctx);
/*action list cards*/
guint action_list_cards_init (ActionContext * p_actctx);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* _EVOLUTION_ADDRESSBOOK_EXPORT_H_ */