diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2024-07-01 17:00:08 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2024-07-01 17:00:08 +0200 |
| commit | 16483d65744488146e96d149b41f5869a2597a4c (patch) | |
| tree | 4e1c5a9d00deababc675a94064010d3d23bc5996 /src/application.c | |
| parent | f82081215e1f29140ab9c70e897ac62e9b456919 (diff) | |
add quick answers
Diffstat (limited to 'src/application.c')
| -rw-r--r-- | src/application.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c index a32e1ce..bad62b1 100644 --- a/src/application.c +++ b/src/application.c @@ -7,6 +7,7 @@ #include "services/battery-service.h" #include "services/clock-service.h" #include "services/brightness-service.h" +#include "services/quick-answer-service.h" #include "services/workspace-service.h" #include "services/notification-service.h" #include "services/audio-service.h" @@ -38,6 +39,7 @@ struct _FoobarApplication FoobarNetworkService* network_service; FoobarBluetoothService* bluetooth_service; FoobarApplicationService* application_service; + FoobarQuickAnswerService* quick_answer_service; FoobarConfigurationService* configuration_service; gulong config_handler_id; FoobarServer* server_skeleton; @@ -180,6 +182,7 @@ void foobar_application_activate( GApplication* app ) self->network_service = foobar_network_service_new( ); self->bluetooth_service = foobar_bluetooth_service_new( ); self->application_service = foobar_application_service_new( ); + self->quick_answer_service = foobar_quick_answer_service_new( ); self->configuration_service = foobar_configuration_service_new( ); // Enforce a uniform style by forcing Adwaita and shipping our own icons. @@ -231,6 +234,7 @@ void foobar_application_activate( GApplication* app ) self->launcher = foobar_launcher_new( self->application_service, + self->quick_answer_service, self->configuration_service ); g_object_ref( self->launcher ); @@ -358,6 +362,7 @@ void foobar_application_finalize( GObject* object ) g_clear_object( &self->network_service ); g_clear_object( &self->bluetooth_service ); g_clear_object( &self->application_service ); + g_clear_object( &self->quick_answer_service ); g_clear_object( &self->configuration_service ); g_clear_object( &self->style_provider ); g_clear_object( &self->server_skeleton ); |
