clang-tidy: modernize-macro-to-enum
[geeqie.git] / src / layout-util.cc
index 5dc2ff5..1ebbb2e 100644 (file)
 #include <sys/wait.h>
 #include "keymap-template.h"
 
-#define MENU_EDIT_ACTION_OFFSET 16
-#define FILE_COLUMN_POINTER 0
+enum {
+       MENU_EDIT_ACTION_OFFSET = 16,
+       FILE_COLUMN_POINTER = 0
+};
 
 static gboolean layout_bar_enabled(LayoutWindow *lw);
 static gboolean layout_bar_sort_enabled(LayoutWindow *lw);