aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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/gui
parent801224c346db9ab6564da0ef9dd96d4e54c2252c (diff)
downloadgsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.gz
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.bz2
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.lz
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.xz
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.tar.zst
gsoc2013-evolution-67159043da2de9df576f6a4eaa245e0c3926f004.zip
Use G_BEGIN_DECLS / G_END_DECLS macros.
Diffstat (limited to 'addressbook/gui')
-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
5 files changed, 10 insertions, 35 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__ */