[fractal/fractal-next] app: Set resource base path on construct



commit b623a931a722d34382a4030fcfd461f9e948f180
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Mon Oct 4 21:59:49 2021 +0200

    app: Set resource base path on construct

 src/application.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.rs b/src/application.rs
index 8374cae4..94823f37 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -49,7 +49,6 @@ mod imp {
                 return;
             }
 
-            app.set_resource_base_path(Some("/org/gnome/FractalNext/"));
             app.setup_css();
 
             let window = Window::new(app);
@@ -82,6 +81,7 @@ impl Application {
         glib::Object::new(&[
             ("application-id", &Some(config::APP_ID)),
             ("flags", &ApplicationFlags::default()),
+            ("resource-base-path", &Some("/org/gnome/FractalNext/")),
         ])
         .expect("Application initialization failed")
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]