diff --git a/src/app/browser/header/bar/title.cpp b/src/app/browser/header/bar/title.cpp index d9e30dd0..9aef395a 100644 --- a/src/app/browser/header/bar/title.cpp +++ b/src/app/browser/header/bar/title.cpp @@ -1,33 +1,24 @@ #include "title.h" -namespace app +namespace app::browser::header::bar { - namespace browser - { - namespace header - { - namespace bar - { - // Construct - Title::Title( - Bar *bar - ) { - // Init dependencies - this->bar = bar; + // Construct + Title::Title( + Bar *bar + ) { + // Init dependencies + this->bar = bar; - // Init GTK - this->gtk = gtk_label_new( - Title::LABEL - ); + // Init GTK + this->gtk = gtk_label_new( + Title::LABEL + ); - // Render - gtk_widget_show( - GTK_WIDGET( - this->gtk - ) - ); - } - } - } + // Render + gtk_widget_show( + GTK_WIDGET( + this->gtk + ) + ); } -} +} \ No newline at end of file diff --git a/src/app/browser/header/bar/title.h b/src/app/browser/header/bar/title.h index dad13fb0..bb97c1a2 100644 --- a/src/app/browser/header/bar/title.h +++ b/src/app/browser/header/bar/title.h @@ -4,34 +4,28 @@ // Dependencies #include "../bar.h" -namespace app +namespace app::browser::header { - namespace browser + class Bar; + + namespace bar { - namespace header + class Title { - class Bar; - - namespace bar - { - class Title - { - public: + public: - // GTK - GtkWidget *gtk; + // GTK + GtkWidget *gtk; - // Defaults - const char* LABEL = "Yoda"; + // Defaults + const char* LABEL = "Yoda"; - // Dependencies - Bar *bar; + // Dependencies + Bar *bar; - Title( - Bar *bar - ); - }; - }; + Title( + Bar *bar + ); }; }; };