Remove duplicate symbol ColumnInfo from global namespace #8637

This commit is contained in:
Robin Gareus 2021-03-28 04:31:11 +02:00
parent 9c4a8ba528
commit 09d9938ecd
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 14 additions and 17 deletions

View file

@ -72,14 +72,6 @@ using namespace Glib;
using namespace Editing;
using Gtkmm2ext::Keyboard;
struct ColumnInfo {
int index;
int sort_idx;
Gtk::AlignmentEnum al;
const char* label;
const char* tooltip;
};
//#define SHOW_REGION_EXTRAS
EditorRegions::EditorRegions (Editor* e)
@ -177,8 +169,14 @@ EditorRegions::EditorRegions (Editor* e)
TreeViewColumn* col;
Gtk::Label* l;
struct ColumnInfo {
int index;
int sort_idx;
Gtk::AlignmentEnum al;
const char* label;
const char* tooltip;
} ci[] = {
/* clang-format off */
ColumnInfo ci[] = {
{ 0, 0, ALIGN_LEFT, _("Name"), _("Region name") },
{ 1, 1, ALIGN_LEFT, _("# Ch"), _("# Channels in the region") },
{ 2, 2, ALIGN_LEFT, _("Tags"), _("Tags") },