diff --git a/src/app/browser.cpp b/src/app/browser.cpp index c6a7b5ce..e19338c1 100644 --- a/src/app/browser.cpp +++ b/src/app/browser.cpp @@ -7,12 +7,12 @@ namespace app GtkApplication *application ) { // Init dependencies - this->application = application; + this->app = application; // Init GTK this->gtk = gtk_application_window_new( GTK_APPLICATION( - this->application + this->app ) ); @@ -46,7 +46,7 @@ namespace app // Connect signals g_signal_connect( G_APPLICATION( - this->application + this->app ), "shutdown", G_CALLBACK( diff --git a/src/app/browser.h b/src/app/browser.h index 64d0bb29..b643347f 100644 --- a/src/app/browser.h +++ b/src/app/browser.h @@ -22,7 +22,7 @@ namespace app GtkWidget *gtk; // Dependencies - GtkApplication *application; + GtkApplication *app; // Requirements browser::Header *header; diff --git a/src/app/browser/header/bar/menu/main/quit.cpp b/src/app/browser/header/bar/menu/main/quit.cpp index f340d669..afa26706 100644 --- a/src/app/browser/header/bar/menu/main/quit.cpp +++ b/src/app/browser/header/bar/menu/main/quit.cpp @@ -17,7 +17,7 @@ namespace app::browser::header::bar::menu::main g_action_map_add_action( G_ACTION_MAP( - this->main->menu->bar->header->browser->application + this->main->menu->bar->header->browser->app ), G_ACTION( this->action @@ -46,7 +46,7 @@ namespace app::browser::header::bar::menu::main gtk_application_set_accels_for_action( GTK_APPLICATION( - this->main->menu->bar->header->browser->application + this->main->menu->bar->header->browser->app ), action, accels @@ -68,7 +68,7 @@ namespace app::browser::header::bar::menu::main Quit::_activate ), G_APPLICATION( - this->main->menu->bar->header->browser->application + this->main->menu->bar->header->browser->app ) ); }