[libdazzle: 1/2] Fix #6: move enum typedef after enum declaration
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle: 1/2] Fix #6: move enum typedef after enum declaration
- Date: Sun, 11 Feb 2018 23:12:30 +0000 (UTC)
commit 14f9d335649206ea438a06d336df791d443b6115
Author: Robert Roth <robert roth off gmail com>
Date: Sun Feb 11 17:17:32 2018 +0200
Fix #6: move enum typedef after enum declaration
src/animation/dzl-animation.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/animation/dzl-animation.h b/src/animation/dzl-animation.h
index 86bb2fc..6d78926 100644
--- a/src/animation/dzl-animation.h
+++ b/src/animation/dzl-animation.h
@@ -30,8 +30,6 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (DzlAnimation, dzl_animation, DZL, ANIMATION, GInitiallyUnowned)
-typedef enum _DzlAnimationMode DzlAnimationMode;
-
enum _DzlAnimationMode
{
DZL_ANIMATION_LINEAR,
@@ -45,6 +43,8 @@ enum _DzlAnimationMode
DZL_ANIMATION_LAST
};
+typedef enum _DzlAnimationMode DzlAnimationMode;
+
DZL_AVAILABLE_IN_ALL
GType dzl_animation_mode_get_type (void);
DZL_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]