aboutsummaryrefslogtreecommitdiffstats
path: root/shell/importer
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 /shell/importer
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 'shell/importer')
-rw-r--r--shell/importer/evolution-importer-client.h9
-rw-r--r--shell/importer/evolution-importer-listener.h9
-rw-r--r--shell/importer/evolution-importer.h9
-rw-r--r--shell/importer/evolution-intelligent-importer.h9
4 files changed, 8 insertions, 28 deletions
diff --git a/shell/importer/evolution-importer-client.h b/shell/importer/evolution-importer-client.h
index 2a71e58a45..e94584216d 100644
--- a/shell/importer/evolution-importer-client.h
+++ b/shell/importer/evolution-importer-client.h
@@ -28,10 +28,7 @@
#include <importer/evolution-importer.h>
#include <importer/evolution-importer-listener.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif
+G_BEGIN_DECLS
#define EVOLUTION_TYPE_IMPORTER_CLIENT (evolution_importer_client_get_type ())
#define EVOLUTION_IMPORTER_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TYPE_IMPORTER_CLIENT, EvolutionImporterClient))
@@ -67,8 +64,6 @@ void evolution_importer_client_process_item (EvolutionImporterClient *client,
EvolutionImporterListener *listener);
const gchar *evolution_importer_client_get_error (EvolutionImporterClient *client);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif
diff --git a/shell/importer/evolution-importer-listener.h b/shell/importer/evolution-importer-listener.h
index e4df945271..39bf2a0493 100644
--- a/shell/importer/evolution-importer-listener.h
+++ b/shell/importer/evolution-importer-listener.h
@@ -28,10 +28,7 @@
#include <importer/GNOME_Evolution_Importer.h>
#include "evolution-importer.h"
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* cplusplus */
+G_BEGIN_DECLS
#define EVOLUTION_TYPE_IMPORTER_LISTENER (evolution_importer_listener_get_type ())
#define EVOLUTION_IMPORTER_LISTENER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TYPE_IMPORTER_LISTENER, EvolutionImporterListener))
@@ -64,8 +61,6 @@ GType evolution_importer_listener_get_type (void);
EvolutionImporterListener *evolution_importer_listener_new (EvolutionImporterListenerCallback callback,
gpointer closure);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif
diff --git a/shell/importer/evolution-importer.h b/shell/importer/evolution-importer.h
index b4bf54928f..5c7560dabd 100644
--- a/shell/importer/evolution-importer.h
+++ b/shell/importer/evolution-importer.h
@@ -27,10 +27,7 @@
#include <bonobo/bonobo-object.h>
#include <importer/GNOME_Evolution_Importer.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* cplusplus */
+G_BEGIN_DECLS
#define EVOLUTION_TYPE_IMPORTER (evolution_importer_get_type ())
#define EVOLUTION_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TYPE_IMPORTER, EvolutionImporter))
@@ -93,8 +90,6 @@ EvolutionImporter *evolution_importer_new (EvolutionImporterCreateControlFn cre
void *closure);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif
diff --git a/shell/importer/evolution-intelligent-importer.h b/shell/importer/evolution-intelligent-importer.h
index 99d5d2b26d..d9613d3f66 100644
--- a/shell/importer/evolution-intelligent-importer.h
+++ b/shell/importer/evolution-intelligent-importer.h
@@ -27,10 +27,7 @@
#include <bonobo/bonobo-object.h>
#include <importer/GNOME_Evolution_Importer.h>
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define EVOLUTION_TYPE_INTELLIGENT_IMPORTER (evolution_intelligent_importer_get_type ())
#define EVOLUTION_INTELLIGENT_IMPORTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TYPE_INTELLIGENT_IMPORTER, EvolutionIntelligentImporter))
@@ -67,8 +64,6 @@ EvolutionIntelligentImporter *evolution_intelligent_importer_new (EvolutionIntel
const gchar *message,
gpointer closure);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif