[monkey-bubble: 212/753] Use `typedef enum { ... } GnomeFileDomain' instead of `enum _GnomeFileDomain { .. }'.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 212/753] Use `typedef enum { ... } GnomeFileDomain' instead of `enum _GnomeFileDomain { .. }'.
- Date: Wed, 14 Jul 2010 22:13:29 +0000 (UTC)
commit d7abe88d49a046c72531c1950cdf174e09b27031
Author: Martin Baulig <martin src gnome org>
Date: Sun Apr 29 15:09:34 2001 +0000
Use `typedef enum { ... } GnomeFileDomain' instead of
`enum _GnomeFileDomain { .. }'.
libgnome/gnome-program.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libgnome/gnome-program.h b/libgnome/gnome-program.h
index 47ff9ca..c76250f 100644
--- a/libgnome/gnome-program.h
+++ b/libgnome/gnome-program.h
@@ -49,9 +49,7 @@ typedef struct _GnomeProgram GnomeProgram;
typedef struct _GnomeProgramPrivate GnomeProgramPrivate;
typedef struct _GnomeProgramClass GnomeProgramClass;
-typedef enum _GnomeFileDomain GnomeFileDomain;
-
-enum _GnomeFileDomain {
+typedef enum {
GNOME_FILE_DOMAIN_UNKNOWN = 0,
GNOME_FILE_DOMAIN_LIBDIR,
GNOME_FILE_DOMAIN_DATADIR,
@@ -60,7 +58,7 @@ enum _GnomeFileDomain {
GNOME_FILE_DOMAIN_CONFIG,
GNOME_FILE_DOMAIN_HELP,
GNOME_FILE_DOMAIN_APP_HELP
-};
+} GnomeFileDomain;
struct _GnomeProgram
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]