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 | |
parent | 1a6bb41b0df656a29274da049e5fff924859d76f (diff) | |
download | gsoc2013-evolution-26dd492af6580330cd6a893717a237d47a3efd01.tar.gz 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')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/importer/evolution-importer.h | 5 |
2 files changed, 8 insertions, 3 deletions
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 <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. + 2001-01-17 Ettore Perazzoli <ettore@ximian.com> * 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; |