projects
/
geeqie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: modernize-macro-to-enum
[geeqie.git]
/
src
/
desktop-file.cc
diff --git
a/src/desktop-file.cc
b/src/desktop-file.cc
index
bd97241
..
6879fa3
100644
(file)
--- a/
src/desktop-file.cc
+++ b/
src/desktop-file.cc
@@
-31,8
+31,10
@@
#include "utilops.h"
#include "window.h"
-#define CONFIG_WINDOW_DEF_WIDTH 700
-#define CONFIG_WINDOW_DEF_HEIGHT 400
+enum {
+ CONFIG_WINDOW_DEF_WIDTH = 700,
+ CONFIG_WINDOW_DEF_HEIGHT = 400
+};