aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/importer/evolution-importer.h5
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;