From caf662180f7fabae630451fc15611f817a06814e Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Thu, 30 Mar 2023 22:31:20 -0400 Subject: [PATCH] Ensure that screenplay also loads resources --- kifu/kifu-gtk/src/bin/screenplay.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kifu/kifu-gtk/src/bin/screenplay.rs b/kifu/kifu-gtk/src/bin/screenplay.rs index 28f16cb..ab461e4 100644 --- a/kifu/kifu-gtk/src/bin/screenplay.rs +++ b/kifu/kifu-gtk/src/bin/screenplay.rs @@ -7,6 +7,9 @@ use kifu_gtk::ui::{playing_field_view, Chat, PlayerCard, PlayingField}; use screenplay::{Screen, Screenplay}; fn main() { + gio::resources_register_include!("com.luminescent-dreams.kifu-gtk.gresource") + .expect("Failed to register resources"); + let app = gtk::Application::builder() .application_id("com.luminescent-dreams.kifu-gtk.screenplay") .build();