Ensure that screenplay also loads resources

This commit is contained in:
Savanni D'Gerinel 2023-03-30 22:31:20 -04:00
parent cd7b201ca1
commit caf662180f
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ use kifu_gtk::ui::{playing_field_view, Chat, PlayerCard, PlayingField};
use screenplay::{Screen, Screenplay}; use screenplay::{Screen, Screenplay};
fn main() { fn main() {
gio::resources_register_include!("com.luminescent-dreams.kifu-gtk.gresource")
.expect("Failed to register resources");
let app = gtk::Application::builder() let app = gtk::Application::builder()
.application_id("com.luminescent-dreams.kifu-gtk.screenplay") .application_id("com.luminescent-dreams.kifu-gtk.screenplay")
.build(); .build();