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
|
GtkApplication *application
|
||||||
) {
|
) {
|
||||||
// Init dependencies
|
// Init dependencies
|
||||||
this->application = application;
|
this->app = application;
|
||||||
|
|
||||||
// Init GTK
|
// Init GTK
|
||||||
this->gtk = gtk_application_window_new(
|
this->gtk = gtk_application_window_new(
|
||||||
GTK_APPLICATION(
|
GTK_APPLICATION(
|
||||||
this->application
|
this->app
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -46,7 +46,7 @@ namespace app
|
||||||
// Connect signals
|
// Connect signals
|
||||||
g_signal_connect(
|
g_signal_connect(
|
||||||
G_APPLICATION(
|
G_APPLICATION(
|
||||||
this->application
|
this->app
|
||||||
),
|
),
|
||||||
"shutdown",
|
"shutdown",
|
||||||
G_CALLBACK(
|
G_CALLBACK(
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace app
|
||||||
GtkWidget *gtk;
|
GtkWidget *gtk;
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
GtkApplication *application;
|
GtkApplication *app;
|
||||||
|
|
||||||
// Requirements
|
// Requirements
|
||||||
browser::Header *header;
|
browser::Header *header;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace app::browser::header::bar::menu::main
|
||||||
|
|
||||||
g_action_map_add_action(
|
g_action_map_add_action(
|
||||||
G_ACTION_MAP(
|
G_ACTION_MAP(
|
||||||
this->main->menu->bar->header->browser->application
|
this->main->menu->bar->header->browser->app
|
||||||
),
|
),
|
||||||
G_ACTION(
|
G_ACTION(
|
||||||
this->action
|
this->action
|
||||||
|
|
@ -46,7 +46,7 @@ namespace app::browser::header::bar::menu::main
|
||||||
|
|
||||||
gtk_application_set_accels_for_action(
|
gtk_application_set_accels_for_action(
|
||||||
GTK_APPLICATION(
|
GTK_APPLICATION(
|
||||||
this->main->menu->bar->header->browser->application
|
this->main->menu->bar->header->browser->app
|
||||||
),
|
),
|
||||||
action,
|
action,
|
||||||
accels
|
accels
|
||||||
|
|
@ -68,7 +68,7 @@ namespace app::browser::header::bar::menu::main
|
||||||
Quit::_activate
|
Quit::_activate
|
||||||
),
|
),
|
||||||
G_APPLICATION(
|
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