Skip to content

Commit

Permalink
analysis: Add prelude for fundamnetal objects
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Feb 1, 2024
1 parent 6504b3e commit 0e476ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ pub fn class(env: &Env, obj: &GObject, deps: &[library::TypeId]) -> Option<Info>

if is_fundamental {
imports.add("glib::translate::*");
imports.add("glib::prelude::*");
}

if has_builder_properties(&builder_properties) {
Expand Down

0 comments on commit 0e476ab

Please sign in to comment.