diff --git a/gfx/public/nsITheme.h b/gfx/public/nsITheme.h index b18f57297b12..f65e79dc2144 100644 --- a/gfx/public/nsITheme.h +++ b/gfx/public/nsITheme.h @@ -139,11 +139,11 @@ public: PRBool* aIsOverridable)=0; - typedef enum Transparency { + typedef enum { eOpaque = 0, eTransparent, eUnknownTransparency - }; + } Transparency; /** * Returns what we know about the transparency of the widget.