[gnome-builder] vcs-config: use single typedef for enums



commit ec7b4c5ff5bcd1391b0b42d0bd3977bdec00c2ff
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 29 14:51:27 2016 +0300

    vcs-config: use single typedef for enums

 libide/ide-vcs-config.h |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libide/ide-vcs-config.h b/libide/ide-vcs-config.h
index 2954eec..09d871d 100644
--- a/libide/ide-vcs-config.h
+++ b/libide/ide-vcs-config.h
@@ -27,13 +27,11 @@ G_BEGIN_DECLS
 
 G_DECLARE_INTERFACE (IdeVcsConfig, ide_vcs_config, IDE, VCS_CONFIG, GObject)
 
-typedef enum _IdeVcsConfigType IdeVcsConfigType;
-
-enum _IdeVcsConfigType
+typedef enum
 {
   IDE_VCS_CONFIG_FULL_NAME,
-  IDE_VCS_CONFIG_EMAIL
-};
+  IDE_VCS_CONFIG_EMAIL,
+} IdeVcsConfigType;
 
 struct _IdeVcsConfigInterface
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]