mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
enshort application object name
This commit is contained in:
parent
b891678dbc
commit
58c978184c
3 changed files with 7 additions and 7 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ namespace app
|
|||
GtkWidget *gtk;
|
||||
|
||||
// Dependencies
|
||||
GtkApplication *application;
|
||||
GtkApplication *app;
|
||||
|
||||
// Requirements
|
||||
browser::Header *header;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue