diff options
Diffstat (limited to 'src/glibext/options')
-rw-r--r-- | src/glibext/options/hex.c | 2 | ||||
-rw-r--r-- | src/glibext/options/hex.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/glibext/options/hex.c b/src/glibext/options/hex.c index 5804a57..ab461a7 100644 --- a/src/glibext/options/hex.c +++ b/src/glibext/options/hex.c @@ -101,7 +101,7 @@ static void g_hex_options_init(GHexOptions *options) #endif (const char *[]) { _("Offset") }, (const bool []) { true }, - 1); + HCO_COUNT); assert(status); diff --git a/src/glibext/options/hex.h b/src/glibext/options/hex.h index 48ce942..0d187dc 100644 --- a/src/glibext/options/hex.h +++ b/src/glibext/options/hex.h @@ -29,6 +29,16 @@ +/* Liste des colonnes en options */ +typedef enum _HexColumnOptions +{ + HCO_OFFSET, /* Position */ + + HCO_COUNT + +} HexColumnOptions; + + #define G_TYPE_HEX_OPTIONS (g_hex_options_get_type()) DECLARE_GTYPE(GHexOptions, g_hex_options, G, HEX_OPTIONS); |