Remove final namespace qualifiers from use of GParted's own enums

... because it is not necessary and clutters the code.
This commit is contained in:
Mike Fleetwood 2023-11-06 21:08:29 +00:00 committed by Curtis Gedak
parent adca4d4089
commit 2a8ec0e4bb
2 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@
namespace GParted
{
//FIXME: stop using GParted:: in front of our own enums.. it's not necessary and clutters the code
enum OperationType {
OPERATION_DELETE = 0,
OPERATION_CHECK = 1,

View File

@ -36,12 +36,12 @@ DrawingAreaVisualDisk::DrawingAreaVisualDisk()
selected_vp = nullptr;
// Set some standard colors
color_used .set( Utils::get_color( GParted::FS_USED ) );
color_unused .set( Utils::get_color( GParted::FS_UNUSED ) );
color_unallocated .set( Utils::get_color( GParted::FS_UNALLOCATED ) );
color_used.set(Utils::get_color(FS_USED));
color_unused.set(Utils::get_color(FS_UNUSED));
color_unallocated.set(Utils::get_color(FS_UNALLOCATED));
color_text .set( "black" );
add_events( Gdk::BUTTON_PRESS_MASK );
set_size_request( -1, HEIGHT ) ;
}