From 26dd492af6580330cd6a893717a237d47a3efd01 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 17 Jan 2001 22:31:35 +0000 Subject: Use "typedef enum { ... } Blah;" instead of "typedef enum _Blah Blah; enum 2001-01-17 Federico Mena Quintero * importer/evolution-importer.h: Use "typedef enum { ... } Blah;" instead of "typedef enum _Blah Blah; enum _Blah { ... };" so that gtk-doc can parse it. Sigh. svn path=/trunk/; revision=7600 --- shell/ChangeLog | 6 ++++++ shell/importer/evolution-importer.h | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 0db4d162da..6190823c12 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-01-17 Federico Mena Quintero + + * importer/evolution-importer.h: Use "typedef enum { ... } Blah;" + instead of "typedef enum _Blah Blah; enum _Blah { ... };" so that + gtk-doc can parse it. Sigh. + 2001-01-17 Ettore Perazzoli * e-shell-folder-selection-dialog.c diff --git a/shell/importer/evolution-importer.h b/shell/importer/evolution-importer.h index 6842438417..fa5c944c2c 100644 --- a/shell/importer/evolution-importer.h +++ b/shell/importer/evolution-importer.h @@ -40,7 +40,6 @@ extern "C" { typedef struct _EvolutionImporter EvolutionImporter; typedef struct _EvolutionImporterPrivate EvolutionImporterPrivate; typedef struct _EvolutionImporterClass EvolutionImporterClass; -typedef enum _EvolutionImporterResult EvolutionImporterResult; typedef gboolean (* EvolutionImporterSupportFormatFn) (EvolutionImporter *importer, const char *filename, @@ -55,7 +54,7 @@ typedef void (* EvolutionImporterProcessItemFn) (EvolutionImporter *importer, typedef char *(* EvolutionImporterGetErrorFn) (EvolutionImporter *importer, void *closure); -enum _EvolutionImporterResult { +typedef enum { EVOLUTION_IMPORTER_OK, EVOLUTION_IMPORTER_UNSUPPORTED_OPERATION, EVOLUTION_IMPORTER_INTERRUPTED, @@ -65,7 +64,7 @@ enum _EvolutionImporterResult { EVOLUTION_IMPORTER_BAD_DATA, EVOLUTION_IMPORTER_BAD_FILE, EVOLUTION_IMPORTER_UNKNOWN_ERROR -}; +} EvolutionImporterResult; struct _EvolutionImporter { BonoboObject parent; -- cgit v1.2.3