summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 15:18:27 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-20 09:51:42 +0000
commit954a0083d9ce7065564c18c9788743eb0cf371f2 (patch)
tree3f77797181a9e89dafd9c5f00f6da3dc477d244b /src/ui/widget
parentReplace typedef struct with struct in POD type declarations. (diff)
downloadinkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.tar.gz
inkscape-954a0083d9ce7065564c18c9788743eb0cf371f2.zip
Replace typedef enum with enum in POD type declarations.
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/color-scales.h4
-rw-r--r--src/ui/widget/imageicon.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/widget/color-scales.h b/src/ui/widget/color-scales.h
index 40e2fdad0..0e98b86c3 100644
--- a/src/ui/widget/color-scales.h
+++ b/src/ui/widget/color-scales.h
@@ -15,13 +15,13 @@ namespace Widget {
class ColorSlider;
-typedef enum {
+enum SPColorScalesMode {
SP_COLOR_SCALES_MODE_NONE = 0,
SP_COLOR_SCALES_MODE_RGB = 1,
SP_COLOR_SCALES_MODE_HSL = 2,
SP_COLOR_SCALES_MODE_CMYK = 3,
SP_COLOR_SCALES_MODE_HSV = 4
-} SPColorScalesMode;
+};
class ColorScales
: public Gtk::Grid
diff --git a/src/ui/widget/imageicon.cpp b/src/ui/widget/imageicon.cpp
index 5837c0842..c2cf13f43 100644
--- a/src/ui/widget/imageicon.cpp
+++ b/src/ui/widget/imageicon.cpp
@@ -27,11 +27,11 @@ namespace Widget
-typedef enum {
+enum FileDialogType {
SVG_TYPES,
IMPORT_TYPES,
EXPORT_TYPES
- } FileDialogType;
+ };
/*#########################################################################