Merge Controller and View structs into one Application struct.

The `View` sturct was mostly a layer of indirection, and the controller benefitted by absorbing the gtk::Application
subclass parts, so now those two are merged into a new gtk::Application subclass.
This commit is contained in:
Tom A. Wagner
2021-05-08 17:12:04 +02:00
parent 2cc684d57c
commit be240231c0
7 changed files with 276 additions and 348 deletions

View File

@@ -7,7 +7,7 @@ use pipewire::{
Context, MainLoop,
};
use crate::{controller::MediaType, GtkMessage, PipewireMessage};
use crate::{application::MediaType, GtkMessage, PipewireMessage};
/// The "main" function of the pipewire thread.
pub(super) fn thread_main(