diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-01-18 06:31:35 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-01-18 06:31:35 +0800 |
commit | 26dd492af6580330cd6a893717a237d47a3efd01 (patch) | |
tree | 4decae5704def785324ea79faf641bbb222528d4 /shell/importer | |
parent | 1a6bb41b0df656a29274da049e5fff924859d76f (diff) | |
download | gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.gz gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.bz2 gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.lz gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.xz gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.zst gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.zip |
Use "typedef enum { ... } Blah;" instead of "typedef enum _Blah Blah; enum
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* 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
Diffstat (limited to 'shell/importer')
-rw-r--r-- | shell/importer/evolution-importer.h | 5 |
1 files changed, 2 insertions, 3 deletions
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; |